original_string: protected function parseUrl($url)
      {
          $url = preg_replace('#^(sqlite3?):///#', '$1://null/', $url);
  
          $parsedUrl = parse_url($url);
  
          if ($parsedUrl === false) {
              throw new InvalidArgumentException('The database configuration URL is malformed.');
          }
  
          return $this->parseStringsToNativeTypes(
              array_map('rawurldecode', $parsedUrl)
          );
      }
code: protected function parseUrl($url)
      {
          $url = preg_replace('#^(sqlite3?):///#', '$1://null/', $url);
  
          $parsedUrl = parse_url($url);
  
          if ($parsedUrl === false) {
              throw new InvalidArgumentException('The database configuration URL is malformed.');
          }
  
          return $this->parseStringsToNativeTypes(
              array_map('rawurldecode', $parsedUrl)
          );
      }
code_tokens: protected function parseUrl ( $ url ) { $ url = preg_replace ( '#^(sqlite3?):///#' , '$1://null/' , $ url ) ; $ parsedUrl = parse_url ( $ url ) ; if ( $ parsedUrl === false ) { throw new InvalidArgumentException ( 'The database configuration URL is malformed.' ) ; } return $ this -> parseStringsToNativeTypes ( array_map ( 'rawurldecode' , $ parsedUrl ) ) ; }
docstring: Parse the string URL to an array of components.
  
  @param  string  $url
  @return array
docstring_tokens: Parse the string URL to an array of components .