izzum\rules\ExceptionSupressor::__construct PHP Метод

__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
    public function __construct(Rule $decoree, $supressed_result = false)
    {
        $this->decoree = $decoree;
        $this->supressed_result = $supressed_result;
    }
ExceptionSupressor