src/Bundles/LocationBundle/LocationBundle.php line 13

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