private function getTargetFromUri()
    {
        $target  = "/{$this->uri->getPath()}";
        $target .= $this->uri->getQuery() !== ''
            ? "?{$this->uri->getQuery()}"
            : '';
        $target .= $this->uri->getFragment() !== ''
            ? "#{$this->uri->getFragment()}"
            : '';
        return str_replace('//', '/', $target);
    }
private function getTargetFromUri()
    {
        $target  = "/{$this->uri->getPath()}";
        $target .= $this->uri->getQuery() !== ''
            ? "?{$this->uri->getQuery()}"
            : '';
        $target .= $this->uri->getFragment() !== ''
            ? "#{$this->uri->getFragment()}"
            : '';
        return str_replace('//', '/', $target);
    }
private function getTargetFromUri ( ) { $ target = "/{$this->uri->getPath()}" ; $ target .= $ this -> uri -> getQuery ( ) !== '' ? "?{$this->uri->getQuery()}" : '' ; $ target .= $ this -> uri -> getFragment ( ) !== '' ? "#{$this->uri->getFragment()}" : '' ; return str_replace ( '//' , '/' , $ target ) ; }
Get the target from the uri

@return string
Get the target from the uri