public function getBroadcastFactory(): ?Factory
    {
        if (!$this->hasBroadcastFactory()) {
            $this->setBroadcastFactory($this->getDefaultBroadcastFactory());
        }
        return $this->broadcastFactory;
    }