Lines Matching refs:uri
63 * @param string $uri
65 public function __construct($uri = null) argument
67 if (null !== $uri) {
68 $this->parseUri($uri);
73 * @param string $uri
77 protected function parseUri($uri) argument
79 if (false === ($uriParts = parse_url($uri))) {
82 throw new InvalidArgumentException("Invalid URI: $uri");
246 $uri = $this->scheme . '://' . $this->getRawAuthority();
249 $uri .= $this->explicitTrailingHostSlash ? '/' : '';
251 $uri .= $this->path;
255 $uri .= "?{$this->query}";
259 $uri .= "#{$this->fragment}";
262 return $uri;
270 $uri = '';
273 $uri .= $this->explicitTrailingHostSlash ? '/' : '';
275 $uri .= $this->path;
278 return $uri;
289 $uri = $this->scheme . '://' . $this->getAuthority();
292 $uri .= $this->explicitTrailingHostSlash ? '/' : '';
294 $uri .= $this->path;
298 $uri .= "?{$this->query}";
302 $uri .= "#{$this->fragment}";
305 return $uri;