Свойство | Тип | Описание | |
---|---|---|---|
$assignment | |||
$parameters |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
_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 | ||
Результат | mixed | the evaluated expression |