src/Bundles/ProfessionalCaseBundle/ProfessionalCaseBundle.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Bundles\ProfessionalCaseBundle;
  4. use App\Bundles\ProfessionalCaseBundle\DBAL\FactorType;
  5. use App\Bundles\ProfessionalCaseBundle\DBAL\IllnessStage;
  6. use App\Bundles\ProfessionalCaseBundle\DBAL\IllnessType;
  7. use App\Bundles\ProfessionalCaseBundle\DBAL\LengthOfWorkRosterType;
  8. use App\Bundles\ProfessionalCaseBundle\DBAL\ProfessionalCaseVersionType;
  9. use App\Platform\Bundle\PlatformBundle;
  10. class ProfessionalCaseBundle extends PlatformBundle
  11. {
  12.     public function boot(): void
  13.     {
  14.         $this->addCustomDBALType(FactorType::NAMEFactorType::class);
  15.         $this->addCustomDBALType(IllnessType::NAMEIllnessType::class);
  16.         $this->addCustomDBALType(IllnessStage::NAMEIllnessStage::class);
  17.         $this->addCustomDBALType(LengthOfWorkRosterType::NAMELengthOfWorkRosterType::class);
  18.         $this->addCustomDBALType(ProfessionalCaseVersionType::NAMEProfessionalCaseVersionType::class);
  19.     }
  20. }