Lines Matching refs:port
84 private ?int $port = null;
127 $port = $urlComponents["port"] ?? null;
129 if ($port !== null) {
130 $this->port = DataType::toInteger($port);
133 throw new ExceptionBadArgument("The port ($port) in ($url) is not an integer. Error: {$e->getMessage()}");
813 // no port
882 if ($this->port === null) {
883 throw new ExceptionNotFound("No port specified");
885 return $this->port;