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