Property | Type | Description | |
---|---|---|---|
$scripts | Pagekit\View\Asset\AssetManager |
Method | Description | |
---|---|---|
__call ( string $method, array $args ) : mixed | Proxies all method calls to the manager. | |
__construct ( Pagekit\View\Asset\AssetManager $scripts = null ) | Constructor. | |
__invoke ( $name, $source = null, $dependencies = [], $options = [] ) | Add shortcut. | |
getIterator ( ) : ArrayIterator | Returns an iterator for script tags. | |
getName ( ) | ||
register ( |
||
render ( ) : string | Renders the script tags. |
public __construct ( Pagekit\View\Asset\AssetManager $scripts = null ) | ||
$scripts | Pagekit\View\Asset\AssetManager |
public __invoke ( $name, $source = null, $dependencies = [], $options = [] ) |
public getIterator ( ) : ArrayIterator | ||
return | ArrayIterator |