Library/Expression/Reference.php
public function setExpectReturn($expecting, Variable $expectingVariable = null)
    {
        $this->expecting = $expecting;
        $this->expectingVariable = $expectingVariable;
    }
public function setExpectReturn($expecting, Variable $expectingVariable = null)
    {
        $this->expecting = $expecting;
        $this->expectingVariable = $expectingVariable;
    }
public function setExpectReturn ( $ expecting , Variable $ expectingVariable = null ) { $ this -> expecting = $ expecting ; $ this -> expectingVariable = $ expectingVariable ; }
Sets if the variable must be resolved into a direct variable symbol
create a temporary value or ignore the return value.

@param bool     $expecting
@param Variable $expectingVariable
Sets if the variable must be resolved into a direct variable symbol create a temporary value or ignore the return value .