/
www
/
wwwroot
/
alo88.autos
/
wp-content
/
plugins
/
wp-content-crawler
/
app
/
vendor
/
mossadal
/
math-parser
/
src
/
MathParser
/
Exceptions
/
Upload File
HOME
<?php /* * @package Exceptions * @author Frank Wikström <frank@mossadal.se> * @copyright 2015 Frank Wikström * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * */ namespace MathParser\Exceptions; /** * Exception thrown when parsing or evaluating expressions containing an * unknown or undefined variable. */ class UnknownVariableException extends MathParserException { /** Constructor. Create a UnknownVariableException */ public function __construct($variable) { parent::__construct("Unknown variable $variable."); $this->data = $variable; } /** * Get the unkown variable. * * @retval string */ public function getVariable() { return $this->data; } }