PHP 클래스 Eloquent\Phony\Hook\Exception\FunctionHookGenerationFailedException

상속: extends Exceptio\Exception, implements FunctionHookException
파일 보기 프로젝트 열기: eloquent/phony

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Construct a mock generation failed exception.
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.

callback() 공개 메소드

Get the callback.
public callback ( ) : callable
리턴 callable The callback.

error() 공개 메소드

Get the error details.
public error ( ) : mixed>\array
리턴 mixed>\array

functionName() 공개 메소드

Get the function name.
public functionName ( ) : string
리턴 string The function name.

source() 공개 메소드

Get the generated source code.
public source ( ) : string
리턴 string The generated source code.