Метод |
Описание |
|
__construct ( string $experiment_salt, $overrides = [] ) |
Store the given experiment salt for future use |
|
__get ( string $name ) : mixed |
Get the value of a key in the Assignment object if it exists |
|
__isset ( string $name ) : boolean |
Check if a given key is set in the Assignment object |
|
__set ( string $name, mixed $value ) |
Set the value of a key in the object using the parameter name as salt |
|
__unset ( string $name ) |
Unset the value at a given key |
|
asArray ( ) : array |
Get the array representation of this Assignment |
|
evaluate ( mixed $value ) |
Evaluate a given parameter and return its value. Currently just directly
returns the given argument but can be modified with more complex behavior |
|
getOverrides ( ) : array |
Get an array of all Assignment parameter overrides |
|
setOverrides ( array $overrides ) |
Set overrides for the Assignment parameters |
|