Lines Matching refs:asset
189 $asset = $this->createAssetCollection(array(), $options);
196 $asset->add(call_user_func_array(array($this, 'createAsset'), $input));
198 $asset->add($this->parseInput($input, $options));
206 $asset->ensureFilter($this->getFilter($filter));
208 $asset->ensureFilter($this->getFilter(substr($filter, 1)));
234 $asset->setTargetPath(str_replace('*', $options['name'], $options['output']));
237 return $this->applyWorkers($asset);
251 public function getLastModified(AssetInterface $asset) argument
254 foreach ($asset instanceof AssetCollectionInterface ? $asset : array($asset) as $leaf) {
376 * @param AssetCollectionInterface $asset An asset collection
380 private function applyWorkers(AssetCollectionInterface $asset) argument
382 foreach ($asset as $leaf) {
387 $asset->replaceLeaf($leaf, $retval);
393 $retval = $worker->process($asset, $this);
396 $asset = $retval;
400 …return $asset instanceof AssetCollectionInterface ? $asset : $this->createAssetCollection(array($a…