vendor/pec-platform/branding-bundle/src/PecBrandingBundle.php line 18

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  *
  5.  * This file is part of the PEC Platform BrandingBundle.
  6.  *
  7.  * (c) PEC project engineers & consultants
  8.  *
  9.  * For the full copyright and license information, please view the LICENSE
  10.  * file that was distributed with this source code.
  11.  */
  12. namespace Pec\Bundle\BrandingBundle;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. class PecBrandingBundle extends Bundle {
  15.     /**
  16.      * @param string $env
  17.      * @param array<string, string> $requiredBundles
  18.      * @return array<string, string>
  19.      */
  20.     public static function getRequiredBundles(string $env, array &$requiredBundles = []): array {
  21.         if(isset($requiredBundles['PecBrandingBundle'])) {
  22.             return $requiredBundles;
  23.         }
  24.         $requiredBundles['PecBrandingBundle'] = __CLASS__;
  25.         return $requiredBundles;
  26.     }
  27. }