Метод | Описание | |
---|---|---|
__construct ( |
Sets the mock. | |
call ( string $functionName, string $fqfn, array &$arguments ) : mixed | Calls the enabled mock, or the built-in function otherwise. | |
defineFunction ( ) | Defines the mock function. | |
removeDefaultArguments ( array &$arguments ) | Removes optional arguments. |
public __construct ( |
||
$mock | The mock. |
public static removeDefaultArguments ( array &$arguments ) | ||
$arguments | array | The arguments. |