Example #1
0
 /**
  * Extracts and returns bundle loader recipes from Config.
  *
  * @param Config $config
  *
  * @return array|null
  */
 private function getLoaderRecipesByConfig(Config $config)
 {
     $recipes = null;
     $bundleConfig = $config->getBundleConfig();
     if (null !== $bundleConfig && isset($bundleConfig['bundle_loader_recipes'])) {
         $recipes = $bundleConfig['bundle_loader_recipes'];
     }
     return $recipes;
 }