src/M6Web/Bundle/DaemonBundle/Command/DaemonCommand.php
protected function dispatchConfigurationEvents(): self
    {
        foreach ($this->iterationsEvents as $event) {
            if (!($this->loopCount % $event['count'])) {
                $this->dispatchEvent($event['name']);
            }
        }

        return $this;
    }
protected function dispatchConfigurationEvents(): self
    {
        foreach ($this->iterationsEvents as $event) {
            if (!($this->loopCount % $event['count'])) {
                $this->dispatchEvent($event['name']);
            }
        }

        return $this;
    }
protected function dispatchConfigurationEvents ( ) : self { foreach ( $ this -> iterationsEvents as $ event ) { if ( ! ( $ this -> loopCount % $ event [ 'count' ] ) ) { $ this -> dispatchEvent ( $ event [ 'name' ] ) ; } } return $ this ; }
Dispatch configured events.

@return DaemonCommand
Dispatch configured events .