Eloquent\Phony\Stub\StubData::returnsArgument PHP Method

returnsArgument() public method

Negative indices are offset from the end of the list. That is, -1 indicates the last element, and -2 indicates the second last element.
public returnsArgument ( integer $index )
$index integer The argument index.
    public function returnsArgument($index = 0)
    {
        return $this->doesWith(function ($arguments) use($index) {
            return $arguments->get($index);
        }, array(), false, true, false);
    }