| 1 | <?php |
||
| 5 | class TwigError extends \Exception implements TemplateErrorInterface |
||
| 6 | { |
||
| 7 | private $error; |
||
| 8 | private $content; |
||
| 9 | private $relativeFilePath; |
||
| 10 | private $name; |
||
| 11 | |||
| 12 | public function __construct(\Twig_Error $error) |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritdoc} |
||
| 19 | */ |
||
| 20 | public function getTemplateLine() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function setTemplateLine($lineNumber) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function setContent($content) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritdoc} |
||
| 47 | */ |
||
| 48 | public function setName($name) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritdoc} |
||
| 57 | */ |
||
| 58 | public function setRelativeFilePath($filePath) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * {@inheritdoc} |
||
| 67 | */ |
||
| 68 | public function buildException() |
||
| 76 | } |
||
| 77 |