private function createTokenParser($tag, $output, $single = false) { $tokenParser = new AsseticTokenParser($this->factory, $tag, $output, $single, array('package')); $tokenParser->setTemplateNameParser($this->templateNameParser); $tokenParser->setEnabledBundles($this->enabledBundles); return $tokenParser; }
public function __construct(AssetFactory $factory, $tag, $output, $single = false, array $extensions = array()) { $this->factory = $factory; $this->tag = $tag; $this->output = $output; $this->single = $single; $this->extensions = $extensions; $this->injectedAssets = array(); parent::__construct($factory, $tag, $output, $single, $extensions); }