src/Bundles/SourceDataBundle/SourceDataBundle.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Bundles\SourceDataBundle;
  4. use App\Bundles\SourceDataBundle\DBAL\DataSourceType;
  5. use App\Bundles\SourceDataBundle\DBAL\StatusType;
  6. use App\Platform\Bundle\PlatformBundle;
  7. use Doctrine\DBAL\Exception;
  8. class SourceDataBundle extends PlatformBundle
  9. {
  10.     /**
  11.      * @throws Exception
  12.      */
  13.     public function boot(): void
  14.     {
  15.         $this->addCustomDBALType(DataSourceType::NAMEDataSourceType::class);
  16.         $this->addCustomDBALType(StatusType::NAMEStatusType::class);
  17.     }
  18. }