Dotclear


Ignore:
Timestamp:
02/15/13 08:35:19 (13 years ago)
Author:
Dsls <dsls@…>
Branch:
twig
Children:
1106:a4487f3ca4b4, 1147:2e5cb79e4782
Message:

Twig 1.12.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/libs/twig/Test/Method.php

    r991 r1101  
    1515 * @package    twig 
    1616 * @author     Fabien Potencier <fabien@symfony.com> 
     17 * @deprecated since 1.12 (to be removed in 2.0) 
    1718 */ 
    18 class Twig_Test_Method implements Twig_TestInterface 
     19class Twig_Test_Method extends Twig_Test 
    1920{ 
    2021    protected $extension; 
    2122    protected $method; 
    2223 
    23     public function __construct(Twig_ExtensionInterface $extension, $method) 
     24    public function __construct(Twig_ExtensionInterface $extension, $method, array $options = array()) 
    2425    { 
     26        $options['callable'] = array($extension, $method); 
     27 
     28        parent::__construct($options); 
     29 
    2530        $this->extension = $extension; 
    2631        $this->method = $method; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map