public
|
#
addResult( string $result, mixed $value )
Add a result to the Results object.
Add a result to the Results object.
Parameters
- $result
- Name of the result
- $value
- Value of the result
|
public
mixed
|
#
getResult( string $result )
Parameters
- $result
- Name of the result
Returns
mixed value of the result
Inheritdoc
Implementation of
|
public
Array
|
#
getResults( )
Returns
Array The results
Inheritdoc
Implementation of
|
public
CupOfTea\Chain\Results
|
#
done( )
Close result set, preventing additional results to be added.
Close result set, preventing additional results to be added.
Returns
|
public
|
#
toArray( )
Inheritdoc
Implementation of
|
public
mixed
|
#
__get( string $result )
Return the result with the specified name.
Return the result with the specified name.
Parameters
- $result
- Name of the result
Returns
mixed value of the result
|
public
boolean
|
#
__isset( string $result )
Wether or not a result for the name exists.
Wether or not a result for the name exists.
Parameters
- $result
- Name of the result
Returns
boolean Wether or not a result for the name exists
|