Lines Matching defs:parts
141 $parts = self::explodeUrl('http://localhost'.$matches[3], $dsn);
143 return new Dsn($scheme, self::getQuery($parts));
147 $parts = self::explodeUrl($matches[3], $dsn);
149 return new Path($scheme, $parts['path'], self::getQuery($parts), $authentication);
152 $parts = self::explodeUrl('http://'.$matches[3], $dsn);
154 return new Url($scheme, $parts['host'], $parts['port'] ?? null, $parts['path'] ?? null, self::getQuery($parts), $authentication);
175 private static function getQuery(array $parts): array
178 if (isset($parts['query'])) {
179 parse_str($parts['query'], $query);