public function getMatchedPath()
    {
        $path = $this->pathMatched;
        if ($this->mount) {
            $len = strlen($this->mount);
            if (substr($path, 0, $len) == $this->mount) {
                $path = ltrim(substr($path, $len), "/");
            }
        }

        return $path;
    }
public function getMatchedPath()
    {
        $path = $this->pathMatched;
        if ($this->mount) {
            $len = strlen($this->mount);
            if (substr($path, 0, $len) == $this->mount) {
                $path = ltrim(substr($path, $len), "/");
            }
        }

        return $path;
    }
public function getMatchedPath ( ) { $ path = $ this -> pathMatched ; if ( $ this -> mount ) { $ len = strlen ( $ this -> mount ) ; if ( substr ( $ path , 0 , $ len ) == $ this -> mount ) { $ path = ltrim ( substr ( $ path , $ len ) , "/" ) ; } } return $ path ; }
Get the matched basename of the path, its the part without the mount
point.

@return string|null
Get the matched basename of the path its the part without the mount point .