From 9cef8dbc799343f6fc0fca926fbef4917b94f335 Mon Sep 17 00:00:00 2001 From: NeonXP Date: Fri, 6 Sep 2013 08:19:02 +0400 Subject: + Added cache, which speeds up the repetitive calculations + Returned variables, because they need for cached expressions --- src/NXP/Exception/IncorrectBracketsException.php | 2 +- src/NXP/Exception/UnknownVariableException.php | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/NXP/Exception/UnknownVariableException.php (limited to 'src/NXP/Exception') diff --git a/src/NXP/Exception/IncorrectBracketsException.php b/src/NXP/Exception/IncorrectBracketsException.php index 68d67c6..e2aaed9 100644 --- a/src/NXP/Exception/IncorrectBracketsException.php +++ b/src/NXP/Exception/IncorrectBracketsException.php @@ -12,7 +12,7 @@ namespace NXP\Exception; /** - * @author V@author Alexander Kiryukhin + * @author Alexander Kiryukhin */ class IncorrectBracketsException extends \Exception { diff --git a/src/NXP/Exception/UnknownVariableException.php b/src/NXP/Exception/UnknownVariableException.php new file mode 100644 index 0000000..8de9493 --- /dev/null +++ b/src/NXP/Exception/UnknownVariableException.php @@ -0,0 +1,19 @@ + + */ +class UnknownVariableException extends \Exception +{ +} -- cgit v1.2.3