vendor/pec-platform/migration-bundle/Pec/Bundle/MigrationBundle/PecMigrationBundle.php line 20

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