12@trigger_error(
'The Twig_Test_Method class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleTest instead.', E_USER_DEPRECATED);
38 return sprintf(
'$this->env->getExtension(\'%s\')->%s', get_class($this->extension), $this->method);
An exception for terminatinating execution or to throw for unit testing.
Represents a method template test.
compile()
Compiles a test.
__construct(Twig_ExtensionInterface $extension, $method, array $options=array())
Represents a template test.
Interface implemented by extension classes.