phpmock\spy\Invocation::getReturn PHP Method

getReturn() public method

Returns the return value of a function call.
public getReturn ( ) : mixed
return mixed The return value.
    public function getReturn()
    {
        return $this->return;
    }