From a4565e88edbc8e3bd092a475469769c86a4c350c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 2 Aug 2013 22:40:51 +0200 Subject: add Twig & refactor poche --- inc/Twig/Error/Loader.php | 31 +++++++++++++++++++++++++++++++ inc/Twig/Error/Runtime.php | 20 ++++++++++++++++++++ inc/Twig/Error/Syntax.php | 20 ++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 inc/Twig/Error/Loader.php create mode 100644 inc/Twig/Error/Runtime.php create mode 100644 inc/Twig/Error/Syntax.php (limited to 'inc/Twig/Error') diff --git a/inc/Twig/Error/Loader.php b/inc/Twig/Error/Loader.php new file mode 100644 index 00000000..68efb574 --- /dev/null +++ b/inc/Twig/Error/Loader.php @@ -0,0 +1,31 @@ + + */ +class Twig_Error_Loader extends Twig_Error +{ + public function __construct($message, $lineno = -1, $filename = null, Exception $previous = null) + { + parent::__construct($message, false, false, $previous); + } +} diff --git a/inc/Twig/Error/Runtime.php b/inc/Twig/Error/Runtime.php new file mode 100644 index 00000000..8b6ceddb --- /dev/null +++ b/inc/Twig/Error/Runtime.php @@ -0,0 +1,20 @@ + + */ +class Twig_Error_Runtime extends Twig_Error +{ +} diff --git a/inc/Twig/Error/Syntax.php b/inc/Twig/Error/Syntax.php new file mode 100644 index 00000000..0f5c5792 --- /dev/null +++ b/inc/Twig/Error/Syntax.php @@ -0,0 +1,20 @@ + + */ +class Twig_Error_Syntax extends Twig_Error +{ +} -- cgit v1.2.3