<?php
declare(strict_types=1);
namespace App\Bundles\LocationBundle;
use App\Bundles\LocationBundle\DBAL\LocationHistoryType;
use App\Bundles\LocationBundle\DBAL\LocationType;
use App\Bundles\LocationBundle\DBAL\StreetType;
use App\Platform\Bundle\PlatformBundle;
use Doctrine\DBAL\Exception;
class LocationBundle extends PlatformBundle
{
/**
* @throws Exception
*/
public function boot(): void
{
$this->addCustomDBALType(LocationType::NAME, LocationType::class);
$this->addCustomDBALType(LocationHistoryType::NAME, LocationHistoryType::class);
$this->addCustomDBALType(StreetType::NAME, StreetType::class);
}
}