protected function currentToken() : T
    {
        if (!isset($this->tokens[$this->index]))
        {
            throw new ContainerParserException("The current token is of the available tokens range.");
        }

        return $this->tokens[$this->index];
    }
protected function currentToken() : T
    {
        if (!isset($this->tokens[$this->index]))
        {
            throw new ContainerParserException("The current token is of the available tokens range.");
        }

        return $this->tokens[$this->index];
    }
protected function currentToken ( ) : T { if ( ! isset ( $ this -> tokens [ $ this -> index ] ) ) { throw new ContainerParserException ( "The current token is of the available tokens range." ) ; } return $ this -> tokens [ $ this -> index ] ; }
Retrives the current token based on the index

@return T
Retrives the current token based on the index