프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |