zvax / assets
There is no license information available for the latest version (0.0.5) of this package.
0.0.5
2016-01-12 20:49 UTC
Requires
- zvax/storage: 0.0.*
Requires (Dev)
- phpunit/phpunit: dev-master
README
#Assets
simple assets wrapper
this exemple would serve the wrapped content of both base and base2 files located in the /testjs folder
function testCompositeAsset() { $engine = new Assets\Engine(); $map = [ 'default' => [ 'base', 'base2', ], ]; $engine->addCompositeAsset('javascript',$map,new Storage\FileLoader(__DIR__.'/testjs', 'js')); $js = $engine->serve('javascript', 'default'); }