src/Pec/Bundle/GlobalFluidDatabaseBundle/PecGlobalFluidDatabaseBundle.php line 21

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * This file is part of the PEC Platform GlobalFluidDatabaseBundle.
  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\GlobalFluidDatabaseBundle;
  12. use Symfony\Component\DependencyInjection\ContainerBuilder;
  13. use Symfony\Component\HttpKernel\Bundle\Bundle;
  14. /**
  15.  * Main class for this bundle
  16.  */
  17. class PecGlobalFluidDatabaseBundle extends Bundle {
  18.     public static function getRequiredBundles(string $env, array &$requiredBundles = []): array {
  19.         if(isset($requiredBundles['PecGlobalFluidDatabaseBundle'])) {
  20.             return $requiredBundles;
  21.         }
  22.         \Pec\Bundle\CompanyBundle\PecCompanyBundle::getRequiredBundles($env$requiredBundles);
  23.         $requiredBundles['PecGlobalFluidDatabaseBundle'] = '\Pec\Bundle\GlobalFluidDatabaseBundle\PecGlobalFluidDatabaseBundle';
  24. //        \Pec\Bundle\DashboardBundle\PecDashboardBundle::getRequiredBundles($env, $requiredBundles);
  25. //        \Pec\Bundle\PlatformBundle\PecPlatformBundle::getRequiredBundles($env, $requiredBundles);
  26. //        \Pec\Bundle\TaggingBundle\PecTaggingBundle::getRequiredBundles($env, $requiredBundles);
  27. //        $requiredBundles['StofDoctrineExtensionsBundle'] = '\Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle';
  28.         return $requiredBundles;
  29.     }
  30.     /**
  31.      *
  32.      * {@inheritDoc}
  33.      *
  34.      * @see \Symfony\Component\HttpKernel\Bundle\Bundle::build()
  35.      */
  36.     public function build(ContainerBuilder $container): void {
  37.     }
  38. }