public __construct ( |
||
$decoree | ||
$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;
}