src/base/Event.php
public function setResult($result): self
    {
        $this->_result = $result;
        $this->_hasResult = true;

        return $this;
    }
public function setResult($result): self
    {
        $this->_result = $result;
        $this->_hasResult = true;

        return $this;
    }
public function setResult ( $ result ) : self { $ this -> _result = $ result ; $ this -> _hasResult = true ; return $ this ; }
Set result associated with this event.
@param mixed $result result associated with this event.
@return self
Set result associated with this event .