public function addExecutionTypes($tag, $handler)
    {
        if ($handler === $this->getSlug()) {
            $attributes = implode(' ', $this->getArgument('execution'));

            return str_replace(' src', " {$attributes} src", $tag);
        }

        return $tag;
    }
public function addExecutionTypes($tag, $handler)
    {
        if ($handler === $this->getSlug()) {
            $attributes = implode(' ', $this->getArgument('execution'));

            return str_replace(' src', " {$attributes} src", $tag);
        }

        return $tag;
    }
public function addExecutionTypes ( $ tag , $ handler ) { if ( $ handler === $ this -> getSlug ( ) ) { $ attributes = implode ( ' ' , $ this -> getArgument ( 'execution' ) ) ; return str_replace ( ' src' , " {$attributes} src" , $ tag ) ; } return $ tag ; }
Add specifed execution type to the asset html tag.

@param string $tag
@param string $handler

@return string
Add specifed execution type to the asset html tag .