PHP 클래스 Eloquent\Phony\Assertion\Exception\AssertionException

상속: extends Exceptio\Exception
파일 보기 프로젝트 열기: eloquent/phony 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $description ) Construct a new assertion exception.
tracePhonyCall ( array $trace ) : array | null Find the Phony entry point call in a stack trace.
trim ( Exception $exception ) Trim the supplied exception's stack trace to only include relevant information.

메소드 상세

__construct() 공개 메소드

Construct a new assertion exception.
public __construct ( string $description )
$description string The failure description.

tracePhonyCall() 공개 정적인 메소드

Find the Phony entry point call in a stack trace.
public static tracePhonyCall ( array $trace ) : array | null
$trace array The stack trace.
리턴 array | null The call, or null if unable to determine the entry point.

trim() 공개 정적인 메소드

Also replaces the file path and line number.
public static trim ( Exception $exception )
$exception Exception The exception.