protected function processPlugin(Bundle $plugin)
    {
        $resourcePath = $plugin->getPath() . '/Resources/config/external.yml';

        return file_exists($resourcePath)
            ? Yaml::parse(file_get_contents($resourcePath))
            : [];
    }
protected function processPlugin(Bundle $plugin)
    {
        $resourcePath = $plugin->getPath() . '/Resources/config/external.yml';

        return file_exists($resourcePath)
            ? Yaml::parse(file_get_contents($resourcePath))
            : [];
    }
protected function processPlugin ( Bundle $ plugin ) { $ resourcePath = $ plugin -> getPath ( ) . '/Resources/config/external.yml' ; return file_exists ( $ resourcePath ) ? Yaml :: parse ( file_get_contents ( $ resourcePath ) ) : [ ] ; }
Process plugin.

@param Bundle $plugin Plugin

@return array Plugin configuration
Process plugin .