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

        return file_exists($resourcePath)
            ? Yaml::parse(file_get_contents($resourcePath))
            : [];
    }