protected function geometry()
    {
        $type       = $this->type();
        $this->type = $type;

        if ($this->lexer->isNextTokenAny(array(Lexer::T_Z, Lexer::T_M, Lexer::T_ZM))) {
            $this->match($this->lexer->lookahead['type']);

            $this->dimension = $this->lexer->value();
        }

        $this->match(Lexer::T_OPEN_PARENTHESIS);

        $value = $this->$type();

        $this->match(Lexer::T_CLOSE_PARENTHESIS);

        return array(
            'type'  => $type,
            'value' => $value
        );
    }
protected function geometry()
    {
        $type       = $this->type();
        $this->type = $type;

        if ($this->lexer->isNextTokenAny(array(Lexer::T_Z, Lexer::T_M, Lexer::T_ZM))) {
            $this->match($this->lexer->lookahead['type']);

            $this->dimension = $this->lexer->value();
        }

        $this->match(Lexer::T_OPEN_PARENTHESIS);

        $value = $this->$type();

        $this->match(Lexer::T_CLOSE_PARENTHESIS);

        return array(
            'type'  => $type,
            'value' => $value
        );
    }
protected function geometry ( ) { $ type = $ this -> type ( ) ; $ this -> type = $ type ; if ( $ this -> lexer -> isNextTokenAny ( array ( Lexer :: T_Z , Lexer :: T_M , Lexer :: T_ZM ) ) ) { $ this -> match ( $ this -> lexer -> lookahead [ 'type' ] ) ; $ this -> dimension = $ this -> lexer -> value ( ) ; } $ this -> match ( Lexer :: T_OPEN_PARENTHESIS ) ; $ value = $ this -> $ type ( ) ; $ this -> match ( Lexer :: T_CLOSE_PARENTHESIS ) ; return array ( 'type' => $ type , 'value' => $ value ) ; }
Match spatial geometry object

@return array
Match spatial geometry object