public function Twig_Environment::computeAlternatives in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Environment.php \Twig_Environment::computeAlternatives()
Deprecated
since 1.23 (to be removed in 2.0)
File
- vendor/
twig/ twig/ lib/ Twig/ Environment.php, line 1257
Class
- Twig_Environment
- Stores the Twig configuration.
Code
public function computeAlternatives($name, $items) {
@trigger_error(sprintf('The %s method is deprecated and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
return Twig_Error_Syntax::computeAlternatives($name, $items);
}