Lines Matching refs:host
78 private ?string $host = null;
126 $this->host = $urlComponents["host"] ?? null;
369 * @return Url - add the scheme and the host based on the request if not present
418 if ($this->host === null) {
419 throw new ExceptionNotFound("No host");
421 return $this->host;
501 throw new ExceptionNotEquals("The host are not equals ($actualHost vs $expectedHost)");
547 public function setHost($host): Url
549 $this->host = $host;
734 * file://host/path
740 // no host
744 // linux, network share (file://host/path)
797 $host = $this->getHost();
799 $host = null;
805 if ($host !== null) {
809 $base = "$base{$host}";
930 * @return bool - if the url points to the same website than the host
939 // no host meaning that the url is relative and then local