public function onPackagesInit(WorkflowEventInterface $event)
    {
        $this->registerServices(
            $event->getApplication()->getServicesFactory(),
            $event->getApplication()->getConfig()->get(EM::KEY)
        );
    }
public function onPackagesInit(WorkflowEventInterface $event)
    {
        $this->registerServices(
            $event->getApplication()->getServicesFactory(),
            $event->getApplication()->getConfig()->get(EM::KEY)
        );
    }
{@inheritdoc}