public function runDelayedCallbacks(AbstractServiceDTO $dto)
    {
        krsort(static::$delayedCallbacks);

        foreach (static::$delayedCallbacks as $callbacks) {
            foreach ($callbacks as $callback) {
                $callback($dto);
            }
        }

        static::$delayedCallbacks = [];
    }
public function runDelayedCallbacks(AbstractServiceDTO $dto)
    {
        krsort(static::$delayedCallbacks);

        foreach (static::$delayedCallbacks as $callbacks) {
            foreach ($callbacks as $callback) {
                $callback($dto);
            }
        }

        static::$delayedCallbacks = [];
    }
public function runDelayedCallbacks ( AbstractServiceDTO $ dto ) { krsort ( static :: $ delayedCallbacks ) ; foreach ( static :: $ delayedCallbacks as $ callbacks ) { foreach ( $ callbacks as $ callback ) { $ callback ( $ dto ) ; } } static :: $ delayedCallbacks = [ ] ; }
Will run every delayed callback which was registered during an event.

@see      \Romm\ConfigurationObject\Service\AbstractService::delay()

@param AbstractServiceDTO $dto The data transfer object sent to the services.
@internal This function is reserved for internal usage only, you should not use it in third party applications!
Will run every delayed callback which was registered during an event .