<?php
declare(strict_types=1);
namespace App\Bundles\DiseaseCaseBundle;
use App\Bundles\DiseaseCaseBundle\DBAL\DiseaseCaseState;
use App\Bundles\DiseaseCaseBundle\DBAL\DiseaseCaseStatus;
use App\Bundles\DiseaseCaseBundle\DBAL\DiseaseCaseTestVersion;
use App\Bundles\DiseaseCaseBundle\DBAL\DiseaseCaseVersion;
use App\Bundles\DiseaseCaseBundle\DBAL\ResourceType;
use App\Bundles\DiseaseCaseBundle\DBAL\ShareDiseaseCasePermission;
use App\Platform\Bundle\PlatformBundle;
use Doctrine\DBAL\Exception;
class DiseaseCaseBundle extends PlatformBundle
{
/**
* @throws Exception
*/
public function boot(): void
{
$this->addCustomDBALType(ResourceType::NAME, ResourceType::class);
$this->addCustomDBALType(DiseaseCaseStatus::NAME, DiseaseCaseStatus::class);
$this->addCustomDBALType(DiseaseCaseState::NAME, DiseaseCaseState::class);
$this->addCustomDBALType(DiseaseCaseVersion::NAME, DiseaseCaseVersion::class);
$this->addCustomDBALType(DiseaseCaseTestVersion::NAME, DiseaseCaseTestVersion::class);
$this->addCustomDBALType(ShareDiseaseCasePermission::NAME, ShareDiseaseCasePermission::class);
}
}