private function pathMatcher($input, $catchPath)
    {
        // ensure request path is prefix with slash
        $requestPath = '/'.ltrim($input, '/');
        // see if wildcard string matches
        if (StringHelper::startsWithWildcard($requestPath, $catchPath)) {
            return true;
        }
        // compare strings
        return ($requestPath == $catchPath);
    }
private function pathMatcher($input, $catchPath)
    {
        // ensure request path is prefix with slash
        $requestPath = '/'.ltrim($input, '/');
        // see if wildcard string matches
        if (StringHelper::startsWithWildcard($requestPath, $catchPath)) {
            return true;
        }
        // compare strings
        return ($requestPath == $catchPath);
    }
private function pathMatcher ( $ input , $ catchPath ) { // ensure request path is prefix with slash $ requestPath = '/' . ltrim ( $ input , '/' ) ; // see if wildcard string matches if ( StringHelper :: startsWithWildcard ( $ requestPath , $ catchPath ) ) { return true ; } // compare strings return ( $ requestPath == $ catchPath ) ; }
Internal path matcher

@param string $input The input request path
@param string $catchPath The path to catch
@return boolean
@since 1.0.8
Internal path matcher