PHP Класс Eloquent\Phony\Assertion\Exception\AssertionException

Наследование: extends Exceptio\Exception
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.