public function withHost(string $host): self
    {
        $newConstraints = $this->constraints;
        $newConstraints[self::CONSTRAINT_HOST] = $host;
        return new static($newConstraints);
    }
public function withHost(string $host): self
    {
        $newConstraints = $this->constraints;
        $newConstraints[self::CONSTRAINT_HOST] = $host;
        return new static($newConstraints);
    }
public function withHost ( string $ host ) : self { $ newConstraints = $ this -> constraints ; $ newConstraints [ self :: CONSTRAINT_HOST ] = $ host ; return new static ( $ newConstraints ) ; }
Create a new instance with the host constraint added

@param string $host The URI host part to force, for example "neos.io"
@return UriConstraints
Create a new instance with the host constraint added