vendor/stinger-soft/doctrine-entity-search-bundle/StingerSoftDoctrineEntitySearchBundle.php line 19

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Stinger Doctrine Entity Search package.
  4.  *
  5.  * (c) Oliver Kotte <oliver.kotte@stinger-soft.net>
  6.  * (c) Florian Meyer <florian.meyer@stinger-soft.net>
  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 StingerSoft\DoctrineEntitySearchBundle;
  12. use Symfony\Component\HttpKernel\Bundle\Bundle;
  13. use StingerSoft\EntitySearchBundle\StingerSoftEntitySearchBundle;
  14. /**
  15.  */
  16. class StingerSoftDoctrineEntitySearchBundle extends Bundle {
  17.     public static function getRequiredBundles(string $env, array &$requiredBundles = []): array {
  18.         if(isset($requiredBundles['StingerSoftDoctrineEntitySearchBundle'])) {
  19.             return $requiredBundles;
  20.         }
  21.         $requiredBundles['StingerSoftDoctrineEntitySearchBundle'] = '\StingerSoft\DoctrineEntitySearchBundle\StingerSoftDoctrineEntitySearchBundle';
  22.         StingerSoftEntitySearchBundle::getRequiredBundles($env$requiredBundles);
  23.         return $requiredBundles;
  24.     }
  25. }