public function getRequestArguments(): array
    {
        if (null !== $this->requestArguments) {
            return $this->requestArguments;
        }

        $arguments = $this->request->server()->get('argv');

        // strip the application name
        array_shift($arguments);

        return $this->requestArguments = $arguments;
    }
public function getRequestArguments(): array
    {
        if (null !== $this->requestArguments) {
            return $this->requestArguments;
        }

        $arguments = $this->request->server()->get('argv');

        // strip the application name
        array_shift($arguments);

        return $this->requestArguments = $arguments;
    }
public function getRequestArguments ( ) : array { if ( null !== $ this -> requestArguments ) { return $ this -> requestArguments ; } $ arguments = $ this -> request -> server ( ) -> get ( 'argv' ) ; // strip the application name array_shift ( $ arguments ) ; return $ this -> requestArguments = $ arguments ; }
Get the arguments from the request.

@return array
Get the arguments from the request .