TestMockSession::getOption
Gets an option.
Signature
public function getOption(string
$name,
[string
$default = null] )
Parameters
-
$name
- The name of the option.
-
$default
- The default value to use if the option is not found.
Returns
- mixed
- The value of the option, or the default if not found.