src/PHPDish/Bundle/CoreBundle/Application/Kernel.php
protected function getKernelParameters()
    {
        $simplePlugins = [];
        $simplePluginMetas = [];
        foreach ($this->simplePlugins as $simplePlugin) {
            $simplePlugins[$simplePlugin->getName()] = get_class($simplePlugin);
            $simplePluginMetas[$simplePlugin->getName()] = [
                'path' => $simplePlugin->getPath(),
                'routerSource' => $simplePlugin->getRouterResource(),
                'servicesSource' => $simplePlugin->getServicesSource(),
            ];
        }
        return array_merge(parent::getKernelParameters(), [
            'kernel.simple_plugins' => $simplePlugins,
            'kernel.simple_plugins_metadata' => $simplePluginMetas
        ]);
    }
protected function getKernelParameters()
    {
        $simplePlugins = [];
        $simplePluginMetas = [];
        foreach ($this->simplePlugins as $simplePlugin) {
            $simplePlugins[$simplePlugin->getName()] = get_class($simplePlugin);
            $simplePluginMetas[$simplePlugin->getName()] = [
                'path' => $simplePlugin->getPath(),
                'routerSource' => $simplePlugin->getRouterResource(),
                'servicesSource' => $simplePlugin->getServicesSource(),
            ];
        }
        return array_merge(parent::getKernelParameters(), [
            'kernel.simple_plugins' => $simplePlugins,
            'kernel.simple_plugins_metadata' => $simplePluginMetas
        ]);
    }
{@inheritdoc}