<?php
/**
 * @license MIT
 *
 * Modified by __root__ on 16-June-2026 using {@see https://github.com/BrianHenryIE/strauss}.
 */

namespace SoaringLeads\Chwazi\Carbon\Doctrine;

use SoaringLeads\Chwazi\Carbon\CarbonImmutable;
use Doctrine\DBAL\Types\VarDateTimeImmutableType;

class DateTimeImmutableType extends VarDateTimeImmutableType implements CarbonDoctrineType
{
    /** @use CarbonTypeConverter<CarbonImmutable> */
    use CarbonTypeConverter;

    /**
     * @return class-string<CarbonImmutable>
     */
    protected function getCarbonClassName(): string
    {
        return CarbonImmutable::class;
    }
}
