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