Changeset 1101:7273894e61b8 for inc/libs/twig/Filter.php
- Timestamp:
- 02/15/13 08:35:19 (13 years ago)
- Branch:
- twig
- Children:
- 1106:a4487f3ca4b4, 1147:2e5cb79e4782
- File:
-
- 1 edited
-
inc/libs/twig/Filter.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
inc/libs/twig/Filter.php
r991 r1101 13 13 * Represents a template filter. 14 14 * 15 * Use Twig_SimpleFilter instead. 16 * 15 17 * @package twig 16 18 * @author Fabien Potencier <fabien@symfony.com> 19 * @deprecated since 1.12 (to be removed in 2.0) 17 20 */ 18 abstract class Twig_Filter implements Twig_FilterInterface 21 abstract class Twig_Filter implements Twig_FilterInterface, Twig_FilterCallableInterface 19 22 { 20 23 protected $options; … … 28 31 'pre_escape' => null, 29 32 'preserves_safety' => null, 33 'callable' => null, 30 34 ), $options); 31 35 } … … 73 77 return $this->options['pre_escape']; 74 78 } 79 80 public function getCallable() 81 { 82 return $this->options['callable']; 83 } 75 84 }
Note: See TracChangeset
for help on using the changeset viewer.
