src/PHPDish/Bundle/CoreBundle/Application/Kernel.php
protected function findSimplePlugins()
    {
        $finder = new CachedPluginFinder($this->getCacheDir() . '/phpdish_plugins.php',
            new PluginFinder($this->getProjectDir())
        );
        return $finder->findAll();
    }
protected function findSimplePlugins()
    {
        $finder = new CachedPluginFinder($this->getCacheDir() . '/phpdish_plugins.php',
            new PluginFinder($this->getProjectDir())
        );
        return $finder->findAll();
    }
初始化插件