Property | Type | Description | |
---|---|---|---|
$assignment | |||
$parameters |
Method | Description | |
---|---|---|
__construct ( array $options, mixed $inputs ) | Store the set of parameters to use as required and optional arguments | |
args ( ) : array | Argument accessor | |
execute ( Assignment $assignment ) : mixed | Evaluate all parameters and store as instance variables, then execute the operator as defined in simpleExecute() | |
setArg ( mixed $key, mixed $value ) | Argument setter |
Method | Description | |
---|---|---|
_simpleExecute ( ) : mixed | Implement with operator functionality |
public __construct ( array $options, mixed $inputs ) | ||
$options | array | array mapping operator options to values |
$inputs | mixed | input value/array used for hashing |
abstract protected _simpleExecute ( ) : mixed | ||
return | mixed | the evaluated expression |