Method | Description | |
---|---|---|
__construct ( string $functionName, callable $callback, string $source, array $error = null, Exceptio\Exception | Erro\Error | null $cause = null ) | Construct a mock generation failed exception. | |
callback ( ) : callable | Get the callback. | |
error ( ) : mixed>\array |
Get the error details. | |
functionName ( ) : string | Get the function name. | |
source ( ) : string | Get the generated source code. |
public __construct ( string $functionName, callable $callback, string $source, array $error = null, Exceptio\Exception | Erro\Error | null $cause = null ) | ||
$functionName | string | The function name. |
$callback | callable | The callback. |
$source | string | The generated source code. |
$error | array | |
$cause | Exceptio\Exception | Erro\Error | null | The cause, if available. |
public functionName ( ) : string | ||
return | string | The function name. |