izzum\rules\Rule::addResult PHP Метод

addResult() закрытый защищенный Метод

this might be useful if a client wants to check if a rule has executed certain steps during the logic of rule execution.
final protected addResult ( string $result )
$result string
    protected final function addResult($result)
    {
        $this->result[] = new RuleResult($this, $result);
    }