src/M6Web/Bundle/DaemonBundle/Command/DaemonCommand.php
protected function configureEvents(): self
    {
        $container = $this->getContainer();
        $key = 'm6web_daemon.iterations_events';

        if ($container->hasParameter($key)) {
            $this->iterationsEvents = $container->getParameter($key);
        }

        return $this;
    }
protected function configureEvents(): self
    {
        $container = $this->getContainer();
        $key = 'm6web_daemon.iterations_events';

        if ($container->hasParameter($key)) {
            $this->iterationsEvents = $container->getParameter($key);
        }

        return $this;
    }
protected function configureEvents ( ) : self { $ container = $ this -> getContainer ( ) ; $ key = 'm6web_daemon.iterations_events' ; if ( $ container -> hasParameter ( $ key ) ) { $ this -> iterationsEvents = $ container -> getParameter ( $ key ) ; } return $ this ; }
Retrieve configured events.

@return DaemonCommand
Retrieve configured events .