| 1 | <?php |
||
| 11 | class TwigError extends \Exception implements TemplateErrorInterface |
||
| 12 | { |
||
| 13 | private $error; |
||
| 14 | private $content; |
||
| 15 | private $relativeFilePath; |
||
| 16 | private $name; |
||
| 17 | |||
| 18 | public function __construct(\Twig_Error $error) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | public function getTemplateLine() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function setTemplateLine($lineNumber) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function setContent($content) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function setName($name) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * {@inheritdoc} |
||
| 64 | */ |
||
| 65 | public function setRelativeFilePath($filePath) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * {@inheritdoc} |
||
| 74 | */ |
||
| 75 | public function buildException() |
||
| 83 | } |
||
| 84 |