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

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

public __construct ( Rule $rule, string $result )
$rule Rule
$result string
    public function __construct(Rule $rule, $result)
    {
        $this->rule = $rule;
        $this->result = $result;
    }