public function path($append_langcode = false)
    {
        $urn = $this->server->requestUri();
        return substr(strtok($urn, '?'), strlen($this->request->base($append_langcode)));
    }
public function path($append_langcode = false)
    {
        $urn = $this->server->requestUri();
        return substr(strtok($urn, '?'), strlen($this->request->base($append_langcode)));
    }
public function path ( $ append_langcode = false ) { $ urn = $ this -> server -> requestUri ( ) ; return substr ( strtok ( $ urn , '?' ) , strlen ( $ this -> request -> base ( $ append_langcode ) ) ) ; }
Returns an internal path without query
@param boolean $append_langcode
@return string
Returns an internal path without query