equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 /* |
|
4 * This file is part of the Symfony framework. |
|
5 * |
|
6 * (c) Fabien Potencier <fabien@symfony.com> |
|
7 * |
|
8 * This source file is subject to the MIT license that is bundled |
|
9 * with this source code in the file LICENSE. |
|
10 */ |
|
11 |
|
12 namespace Symfony\Bundle\AsseticBundle\Twig; |
|
13 |
|
14 use Assetic\Asset\AssetInterface; |
|
15 use Assetic\Extension\Twig\AsseticTokenParser as BaseAsseticTokenParser; |
|
16 |
|
17 /** |
|
18 * Assetic token parser. |
|
19 * |
|
20 * @author Kris Wallsmith <kris@symfony.com> |
|
21 */ |
|
22 class AsseticTokenParser extends BaseAsseticTokenParser |
|
23 { |
|
24 protected function createNode(AssetInterface $asset, \Twig_NodeInterface $body, array $inputs, array $filters, $name, array $attributes = array(), $lineno = 0, $tag = null) |
|
25 { |
|
26 return new AsseticNode($asset, $body, $inputs, $filters, $name, $attributes, $lineno, $tag); |
|
27 } |
|
28 } |