public function setResults($results = null, bool $stopPropagation = false) {
        $this->result = $results;
        if ($stopPropagation) {
            $this->stopPropagation();
        }
    }
public function setResults($results = null, bool $stopPropagation = false) {
        $this->result = $results;
        if ($stopPropagation) {
            $this->stopPropagation();
        }
    }
public function setResults ( $ results = null , bool $ stopPropagation = false ) { $ this -> result = $ results ; if ( $ stopPropagation ) { $ this -> stopPropagation ( ) ; } }
Sets the operations result.

To stop the operations propagation set <code>$stopPropagation</code> to
true.

@param mixed $results
@param bool $stopPropagation
Sets the operations result .