src/Bundles/AntibioticResistanceBundle/AntibioticResistanceBundle.php line 13

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Bundles\AntibioticResistanceBundle;
  4. use App\Bundles\AntibioticResistanceBundle\DBAL\InfectionControlBlockType;
  5. use App\Bundles\AntibioticResistanceBundle\DBAL\InfectionControlCaseType;
  6. use App\Bundles\AntibioticResistanceBundle\DBAL\InfectionControlExperimentType;
  7. use App\Bundles\AntibioticResistanceBundle\DBAL\PathogenGroupType;
  8. use App\Platform\Bundle\PlatformBundle;
  9. class AntibioticResistanceBundle extends PlatformBundle
  10. {
  11.     public function boot(): void
  12.     {
  13.         $this->addCustomDBALType(InfectionControlBlockType::NAMEInfectionControlBlockType::class);
  14.         $this->addCustomDBALType(InfectionControlCaseType::NAMEInfectionControlCaseType::class);
  15.         $this->addCustomDBALType(InfectionControlExperimentType::NAMEInfectionControlExperimentType::class);
  16.         $this->addCustomDBALType(PathogenGroupType::NAMEPathogenGroupType::class);
  17.     }
  18. }