phprs\util\HttpRouterEntries::find PHP Method

find() public method

public find ( string $q, string& &$matched_path = null ) : found
$q string
$matched_path string&
return found object
    function find($q, &$matched_path = null)
    {
        list($path, $param) = explode('?', $q) + array(null, null);
        $paths = self::stringToPath($path);
        $params = is_null($param) ? null : explode('&', $param);
        return $this->findByArray($paths, $params, $matched_path);
    }