protected function extractQueryString($path)
    {
        if (($queryPosition = strpos($path, '?')) !== false) {
            return [
                substr($path, 0, $queryPosition),
                substr($path, $queryPosition),
            ];
        }

        return [$path, ''];
    }
protected function extractQueryString($path)
    {
        if (($queryPosition = strpos($path, '?')) !== false) {
            return [
                substr($path, 0, $queryPosition),
                substr($path, $queryPosition),
            ];
        }

        return [$path, ''];
    }
protected function extractQueryString ( $ path ) { if ( ( $ queryPosition = strpos ( $ path , '?' ) ) !== false ) { return [ substr ( $ path , 0 , $ queryPosition ) , substr ( $ path , $ queryPosition ) , ] ; } return [ $ path , '' ] ; }
Extract the query string from the given path.

@param  string  $path
@return array
Extract the query string from the given path .