<?php
declare(strict_types=1);
namespace App\Bundles\PaymentBundle;
use App\Bundles\PaymentBundle\DBAL\BillingPeriod;
use App\Bundles\PaymentBundle\DBAL\Money;
use App\Bundles\PaymentBundle\DBAL\PaymentGateway;
use App\Bundles\PaymentBundle\DBAL\SubscriptionStatus;
use App\Platform\Bundle\PlatformBundle;
use Doctrine\DBAL\Exception;
class PaymentBundle extends PlatformBundle
{
/**
* @throws Exception
*/
public function boot(): void
{
$this->addCustomDBALType(BillingPeriod::BILLING_PERIOD, BillingPeriod::class);
$this->addCustomDBALType(SubscriptionStatus::SUBSCRIPTION_STATUS, SubscriptionStatus::class);
$this->addCustomDBALType(PaymentGateway::PAYMENT_GATEWAY, PaymentGateway::class);
$this->addCustomDBALType(Money::MONEY, Money::class);
}
}