Kahlan\Plugin\Stub\Method::andReturn PHP Method

andReturn() public method

Set return values.
public andReturn ( )
    public function andReturn()
    {
        if ($this->_closures !== null) {
            throw new Exception("Some closure(s) has already been set.");
        }
        $this->_returns = func_get_args();
    }