Changeset 1101:7273894e61b8 for inc/libs/twig/Test/Method.php
- Timestamp:
- 02/15/13 08:35:19 (13 years ago)
- Branch:
- twig
- Children:
- 1106:a4487f3ca4b4, 1147:2e5cb79e4782
- File:
- 
          - 1 edited
 
 - 
          inc/libs/twig/Test/Method.php (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
        inc/libs/twig/Test/Method.phpr991 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_Method implements Twig_TestInterface19 class Twig_Test_Method extends Twig_Test 19 20 { 20 21 protected $extension; 21 22 protected $method; 22 23 23 public function __construct(Twig_ExtensionInterface $extension, $method )24 public function __construct(Twig_ExtensionInterface $extension, $method, array $options = array()) 24 25 { 26 $options['callable'] = array($extension, $method); 27 28 parent::__construct($options); 29 25 30 $this->extension = $extension; 26 31 $this->method = $method; 
Note: See TracChangeset
          for help on using the changeset viewer.
      