PHP Класс izzum\rules\ExceptionSupressor

In case the original rule applies succesfully (a true or false result) the result is passed back to the client. This rule is an implementation of the Decorator pattern and allows a client to use rules with a consistent behaviour for exceptions.
Автор: Rolf Vreijdenberger
Наследование: extends Rule
Показать файл Открыть проект

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

Метод Описание
__construct ( Rule $decoree, boolean $supressed_result = false )
_applies ( )

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

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

public __construct ( Rule $decoree, boolean $supressed_result = false )
$decoree Rule
$supressed_result boolean what to return in case the decorated rule throws an error

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

public _applies ( )