PHP 클래스 Eloquent\Phony\Mock\Exception\MockGenerationFailedException

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

공개 메소드들

메소드 설명
__construct ( string $className, MockDefinition $definition, string $source, array $error = null, Exceptio\Exception | Erro\Error | null $cause = null ) Construct a mock generation failed exception.
definition ( ) : MockDefinition Get the definition.
error ( ) : mixed>\array Get the error details.
source ( ) : string Get the generated source code.

메소드 상세

__construct() 공개 메소드

Construct a mock generation failed exception.
public __construct ( string $className, MockDefinition $definition, string $source, array $error = null, Exceptio\Exception | Erro\Error | null $cause = null )
$className string The class name.
$definition Eloquent\Phony\Mock\Builder\MockDefinition The definition.
$source string The generated source code.
$error array
$cause Exceptio\Exception | Erro\Error | null The cause, if available.

definition() 공개 메소드

Get the definition.
public definition ( ) : MockDefinition
리턴 Eloquent\Phony\Mock\Builder\MockDefinition The definition.

error() 공개 메소드

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

source() 공개 메소드

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