src/PHPDish/Bundle/CoreBundle/Application/Plugin/DependencyInjection/Compiler/RegisterPluginPass.php
public function process(ContainerBuilder $container)
    {
        $this->container = $container;

        $this->routingLoaderDefinition = $container->findDefinition('phpdish.plugin.route_loader');
        $this->translatorDefinition = $container->findDefinition('translator');

        //注册插件
        foreach ($container->getParameter('kernel.simple_plugins_metadata') as $plugin) {
            $this->install($plugin);
        }
    }
public function process(ContainerBuilder $container)
    {
        $this->container = $container;

        $this->routingLoaderDefinition = $container->findDefinition('phpdish.plugin.route_loader');
        $this->translatorDefinition = $container->findDefinition('translator');

        //注册插件
        foreach ($container->getParameter('kernel.simple_plugins_metadata') as $plugin) {
            $this->install($plugin);
        }
    }
{@inheritdoc}