MathParser\Exceptions\UnknownVariableException Class Reference

Exception thrown when parsing or evaluating expressions containing an unknown or undefined variable. More...

Inheritance diagram for MathParser\Exceptions\UnknownVariableException:
MathParser\Exceptions\MathParserException

Public Member Functions

 __construct ($variable)
 Constructor. More...
 
 getVariable ()
 Get the unkown variable. More...
 
- Public Member Functions inherited from MathParser\Exceptions\MathParserException
 getData ()
 Get additional information about the exception. More...
 

Additional Inherited Members

- Protected Attributes inherited from MathParser\Exceptions\MathParserException
 $data
 

Detailed Description

Exception thrown when parsing or evaluating expressions containing an unknown or undefined variable.

Constructor & Destructor Documentation

MathParser\Exceptions\UnknownVariableException::__construct (   $variable)

Constructor.

Create a UnknownVariableException

Member Function Documentation

MathParser\Exceptions\UnknownVariableException::getVariable ( )

Get the unkown variable.

Return values
string

The documentation for this class was generated from the following file: