Newscoop\Tools\Console\Command\DispatchEventForPluginCommand::execute PHP Метод

execute() защищенный Метод

См. также: Console\Command\Command
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $pluginsManager = $this->getApplication()->getKernel()->getContainer()->getService('newscoop.plugins.manager');
        $name = $input->getArgument('name');
        $eventName = $input->getArgument('eventName');
        $pluginsManager->dispatchEventForPlugin($name, $eventName, $output);
    }
DispatchEventForPluginCommand