diff options
author | NeonXP <frei@neonxp.info> | 2013-09-06 08:19:02 +0400 |
---|---|---|
committer | NeonXP <frei@neonxp.info> | 2013-09-06 08:19:02 +0400 |
commit | 9cef8dbc799343f6fc0fca926fbef4917b94f335 (patch) | |
tree | 915397133271cdc9e2e86a800be02ec695184fdc /src/NXP/Exception | |
parent | 4b08ec4b4dbf83dd242d7882e852b8d933ef0560 (diff) |
+ Added cache, which speeds up the repetitive calculations
+ Returned variables, because they need for cached expressions
Diffstat (limited to 'src/NXP/Exception')
-rw-r--r-- | src/NXP/Exception/IncorrectBracketsException.php | 2 | ||||
-rw-r--r-- | src/NXP/Exception/UnknownVariableException.php | 19 |
2 files changed, 20 insertions, 1 deletions
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 <alexander@symdev.org> + * @author Alexander Kiryukhin <alexander@symdev.org> */ 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 @@ +<?php + +/** + * This file is part of the MathExecutor package + * + * (c) Alexander Kiryukhin + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code + */ + +namespace NXP\Exception; + +/** + * @author Alexander Kiryukhin <alexander@symdev.org> + */ +class UnknownVariableException extends \Exception +{ +} |