Changeset 1101:7273894e61b8 for inc/libs/twig/Test/Function.php
- Timestamp:
- 02/15/13 08:35:19 (12 years ago)
- Branch:
- twig
- Children:
- 1106:a4487f3ca4b4, 1147:2e5cb79e4782
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/libs/twig/Test/Function.php
r991 r1101 15 15 * @package twig 16 16 * @author Fabien Potencier <fabien@symfony.com> 17 * @deprecated since 1.12 (to be removed in 2.0) 17 18 */ 18 class Twig_Test_Function implements Twig_TestInterface19 class Twig_Test_Function extends Twig_Test 19 20 { 20 21 protected $function; 21 22 22 public function __construct($function )23 public function __construct($function, array $options = array()) 23 24 { 25 $options['callable'] = $function; 26 27 parent::__construct($options); 28 24 29 $this->function = $function; 25 30 }
Note: See TracChangeset
for help on using the changeset viewer.