Eloquent\Phony\Call\Arguments::get PHP Метод

get() публичный Метод

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 get ( integer $index ) : mixed
$index integer The index.
Результат mixed The argument.
    public function get($index = 0)
    {
        if (!$this->normalizeIndex($this->count, $index, $normalized)) {
            throw new UndefinedArgumentException($index);
        }
        return $this->arguments[$normalized];
    }