1<?php 2 3use Twig\Error\Error; 4 5class_exists('Twig\Error\Error'); 6 7@trigger_error('Using the "Twig_Error" class is deprecated since Twig version 2.7, use "Twig\Error\Error" instead.', \E_USER_DEPRECATED); 8 9if (false) { 10 /** @deprecated since Twig 2.7, use "Twig\Error\Error" instead */ 11 class Twig_Error extends Error 12 { 13 } 14} 15