src/Reflection/ReflectionInvocation.php
public function getArgument(int $index): ReflectionArgument
    {
        if (!isset($this->arguments[$index])) {
            throw new ReflectionException("No such argument with index '{$index}'");
        }

        return $this->arguments[$index];
    }
public function getArgument(int $index): ReflectionArgument
    {
        if (!isset($this->arguments[$index])) {
            throw new ReflectionException("No such argument with index '{$index}'");
        }

        return $this->arguments[$index];
    }
public function getArgument ( int $ index ) : ReflectionArgument { if ( ! isset ( $ this -> arguments [ $ index ] ) ) { throw new ReflectionException ( "No such argument with index '{$index}'" ) ; } return $ this -> arguments [ $ index ] ; }
Get call argument by it's position.

@param int $index

@return ReflectionArgument|null
Get call argument by it s position .