Inherited by PntMethodInvocation, and PntNavigation.
- Returns
- String representation for debugging purposes
static _getInstance |
( |
|
$key | ) |
|
|
static |
evaluate |
( |
|
$item, |
|
|
|
$extra1 = null , |
|
|
|
$extra2 = null , |
|
|
|
$extra3 = null |
|
) |
| |
calls the func tion mixed $item the parameter of the func tion
- Returns
- mixed whatever the evaluated func tion returns
- Exceptions
-
whatever | the evaluated function throws |
static getInstance |
( |
|
$key | ) |
|
|
static |
get an instance of the proper subclass for evaluation with the specified key
- Parameters
-
key | String the name of the func tion WARNING, do not set the func tion name from untrusted data as that could allow users to call insecure or harmfull func tions |
- Returns
- PntEvaluation
Sets the name of the func tion that will be called by ::evaluate
- Parameters
-
string | $value | method name WARNING, do not set the func tion name from untrusted data as that could allow users to call insecure or harmfull func tions |
The documentation for this class was generated from the following file: