public function getAddress(): AbstractAddress
    {
        if (null === $this->address || !$this->address instanceof AbstractAddress) {
            throw new ConfiguratorException('Connection address is not configured.');
        }
        return $this->address;
    }
public function getAddress(): AbstractAddress
    {
        if (null === $this->address || !$this->address instanceof AbstractAddress) {
            throw new ConfiguratorException('Connection address is not configured.');
        }
        return $this->address;
    }
@return AbstractAddress

@throws ConfiguratorException