PHP Интерфейс Tolerance\Operation\ExceptionCatcher\ThrowableCatcherVoter

This is extending ExceptionCatcherVoter for a BC layer. This extension should be removed as soon as the ExceptionCatcherVoter is removed.
Автор: Baptiste Clavié ([email protected])
Наследование: extends Tolerance\Operation\ExceptionCatcher\ExceptionCatcherVoter
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
shouldCatchThrowable ( Exception | Throwable $throwable ) : boolean Decides if whatever we should catch the given throwable.

Описание методов

shouldCatchThrowable() публичный Метод

There is no typehint, because \Throwable isn't available before PHP 7.0, so we need to handle \Exception too.
public shouldCatchThrowable ( Exception | Throwable $throwable ) : boolean
$throwable Exception | Throwable
Результат boolean