1<?php 2 3/* 4 * This file is part of the Assetic package, an OpenSky project. 5 * 6 * (c) 2010-2014 OpenSky Project Inc 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12namespace Assetic\Extension\Twig; 13 14class AsseticFilterFunction extends \Twig_SimpleFunction 15{ 16 public function __construct($name, $options = array()) 17 { 18 parent::__construct($name, null, array_merge($options, array( 19 'needs_environment' => false, 20 'needs_context' => false, 21 'node_class' => '\Assetic\Extension\Twig\AsseticFilterNode', 22 ))); 23 } 24} 25