Dotclear


Ignore:
Timestamp:
02/15/13 08:35:19 (12 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/Function.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_Function implements Twig_TestInterface 
     19class Twig_Test_Function extends Twig_Test 
    1920{ 
    2021    protected $function; 
    2122 
    22     public function __construct($function) 
     23    public function __construct($function, array $options = array()) 
    2324    { 
     25        $options['callable'] = $function; 
     26 
     27        parent::__construct($options); 
     28 
    2429        $this->function = $function; 
    2530    } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map