public function getDefaultBroadcast(): ?Broadcaster
    {
        // By default, the Broadcast Facade does not return the
        // any actual broadcaster, but rather an
        // instance of a manager.
        // Therefore, we make sure only to obtain its
        // "broadcaster", to make sure that its only the
        // connection is obtained!
        $manager = Broadcast::getFacadeRoot();
        if (isset($manager)) {
            return $manager->connection();
        }
        return $manager;
    }
public function getDefaultBroadcast(): ?Broadcaster
    {
        // By default, the Broadcast Facade does not return the
        // any actual broadcaster, but rather an
        // instance of a manager.
        // Therefore, we make sure only to obtain its
        // "broadcaster", to make sure that its only the
        // connection is obtained!
        $manager = Broadcast::getFacadeRoot();
        if (isset($manager)) {
            return $manager->connection();
        }
        return $manager;
    }
public function getDefaultBroadcast ( ) : ? Broadcaster { // By default, the Broadcast Facade does not return the // any actual broadcaster, but rather an // instance of a manager. // Therefore, we make sure only to obtain its // "broadcaster", to make sure that its only the // connection is obtained! $ manager = Broadcast :: getFacadeRoot ( ) ; if ( isset ( $ manager ) ) { return $ manager -> connection ( ) ; } return $ manager ; }
Get a default broadcast value, if any is available

@return Broadcaster|null A default broadcast value or Null if no default value is available
Get a default broadcast value if any is available