-
-
getCollections() : void
-
-
__construct() : voidAssets constructor. Fetch Di and set it as a property.
-
Retrieve a single option.
-
Add resource to assets, autodetect type.
-
Add CSS resource to assets.
-
Add JS resource to assets.
-
Add an asset to the collection.
-
getCss() : voidGet the CSS default collection.
-
getJs() : voidGet the JS default collection.
-
Get some collection.
-
Minify content.
-
Prepare resource.
-
zephir_init_properties_Ice_Assets() : void
-
public function setCollections(variable $collections)
-
public function getCollections()
-
public function setOptions(variable $options)
-
public function __construct()
Assets constructor. Fetch Di and set it as a property. -
public function getOption(variable $key, variable $defaultValue)
Retrieve a single option. -
public function add(variable $parameters, string $version, string $collection, variable $minify)
Add resource to assets, autodetect type. -
public function addCss(array $parameters, string $version, string $collection, variable $minify)
Add CSS resource to assets. -
public function addJs(array $parameters, string $version, string $collection, variable $minify)
Add JS resource to assets. -
public function addToCollection(variable $key, variable $value)
Add an asset to the collection. -
public function getCss()
Get the CSS default collection. -
public function getJs()
Get the JS default collection. -
public function get(string $key)
Get some collection. -
protected function minify(string $content, variable $type)
Minify content. -
protected function prepare(string $uri, string $type, variable $minify)
Prepare resource. -
internal function zephir_init_properties_Ice_Assets()