Tx_Phpunit_Interface_ConvertService::getAsArray |
( |
|
$key | ) |
|
Returns the array value stored for the key $key.
- Parameters
-
string | $key | the key of the value to retrieve, must not be empty |
- Returns
- array the value for the given key, will be empty if there is no array value for the given key
Tx_Phpunit_Interface_ConvertService::getAsBoolean |
( |
|
$key | ) |
|
Returns the boolean value stored for the key $key.
- Parameters
-
string | $key | the key of the value to retrieve, must not be empty |
- Returns
- boolean the value for the given key, will be FALSE if there is no value for the given key
Tx_Phpunit_Interface_ConvertService::getAsInteger |
( |
|
$key | ) |
|
Returns the integer value stored for the key $key.
- Parameters
-
string | $key | the key of the value to retrieve, must not be empty |
- Returns
- integer the value for the given key, will be 0 if there is no value for the given key
Tx_Phpunit_Interface_ConvertService::getAsString |
( |
|
$key | ) |
|
Returns the string value stored for the key $key.
- Parameters
-
string | $key | the key of the value to retrieve, must not be empty |
- Returns
- string the value for the given key, will be "" if there is no value for the given key
Tx_Phpunit_Interface_ConvertService::hasInteger |
( |
|
$key | ) |
|
Checks whether there is a non-zero integer for $key.
- Parameters
-
string | $key | the key of the value to check, must not be empty |
- Returns
- boolean whether there is a non-zero integer for $key
Tx_Phpunit_Interface_ConvertService::hasString |
( |
|
$key | ) |
|
Checks whether there is a non-empty string for $key.
- Parameters
-
string | $key | the key of the value to check, must not be empty |
- Returns
- boolean whether there is a non-empty string for $key
The documentation for this interface was generated from the following file:
- Classes/Interface/ConvertService.php