Lines Matching refs:to

13     new GlobAsset('/path/to/js/*'),
14 new FileAsset('/path/to/another.js'),
41 Filters can be applied to manipulate assets.
53 new FileAsset('/path/to/src/styles.less', array(new LessFilter())),
54 new GlobAsset('/path/to/css/*'),
56 new Yui\CssCompressorFilter('/path/to/yuicompressor.jar'),
63 The filters applied to the collection will cascade to each asset leaf if you
84 * `CssRewriteFilter`: fixes relative URLs in CSS assets when moving to a new URL
108 * `SeparatorFilter`: inserts a separator between assets to prevent merge failures
131 $am->set('jquery', new FileAsset('/path/to/jquery.js'));
132 $am->set('base_css', new GlobAsset('/path/to/css/*'));
135 The asset manager can also be used to reference assets to avoid duplication.
146 new FileAsset('/path/to/jquery.plugin.js'),
163 $fm->set('sass', new SassFilter('/path/to/parser/sass'));
164 $fm->set('yui_css', new Yui\CssCompressorFilter('/path/to/yuicompressor.jar'));
178 $factory = new AssetFactory('/path/to/asset/directory/');
185 'css/src/*.scss', // load every scss files from "/path/to/asset/directory/css/src/"
197 that filter to be omitted when the factory is in debug mode.
200 by it will be passed to the worker's `process()` method before being returned. See _Cache Busting_ …
202 Dumping Assets to static files
205 You can dump all the assets an AssetManager holds to files in a directory. This will probably be be…
213 $writer = new AssetWriter('/path/to/web');
222 If you serve your assets from static files as just described, you can use the CacheBustingWorker to
235 $factory = new AssetFactory('/path/to/asset/directory/');
243 'css/src/*.scss', // load every scss files from "/path/to/asset/directory/css/src/"
255 A simple caching mechanism is provided to avoid unnecessary work.
265 $yui = new Yui\JsCompressorFilter('/path/to/yuicompressor.jar');
267 new FileAsset('/path/to/some.js', array($yui)),
268 new FilesystemCache('/path/to/cache')
280 To use the Assetic [Twig][3] extension you must register it to your Twig
290 to what the asset factory uses:
293 {% stylesheets '/path/to/sass/main.sass' filter='sass,?yui_css' output='css/all.css' %}
312 These assets need to be written to the web directory so these URLs don't
334 $writer = new AssetWriter('/path/to/web');