src/Bundles/EpidemiologicalSurveillanceBundle/EpidemiologicalSurveillanceBundle.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Bundles\EpidemiologicalSurveillanceBundle;
  4. use App\Bundles\EpidemiologicalSurveillanceBundle\DBAL\HospitalType;
  5. use App\Bundles\EpidemiologicalSurveillanceBundle\DBAL\SurveillanceCaseType;
  6. use App\Bundles\EpidemiologicalSurveillanceBundle\DBAL\SurveillanceTemplateComponentType;
  7. use App\Bundles\EpidemiologicalSurveillanceBundle\DBAL\SurveillanceWeekType;
  8. use App\Bundles\EpidemiologicalSurveillanceBundle\DBAL\SurveillanceWeekValueParameter;
  9. use App\Platform\Bundle\PlatformBundle;
  10. class EpidemiologicalSurveillanceBundle extends PlatformBundle
  11. {
  12.     public function boot(): void
  13.     {
  14.         $this->addCustomDBALType(SurveillanceWeekType::NAMESurveillanceWeekType::class);
  15.         $this->addCustomDBALType(SurveillanceCaseType::NAMESurveillanceCaseType::class);
  16.         $this->addCustomDBALType(SurveillanceTemplateComponentType::NAMESurveillanceTemplateComponentType::class);
  17.         $this->addCustomDBALType(HospitalType::NAMEHospitalType::class);
  18.         $this->addCustomDBALType(SurveillanceWeekValueParameter::NAMESurveillanceWeekValueParameter::class);
  19.     }
  20. }