Your IP : 3.138.102.163


Current Path : /home/lentoinv/api.lentoria.com/vendor/nesbot/carbon/src/Carbon/Doctrine/
Upload File :
Current File : //home/lentoinv/api.lentoria.com/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeImmutableType.php

<?php

/**
 * Thanks to https://github.com/flaushi for his suggestion:
 * https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
 */
namespace Carbon\Doctrine;

use 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;
    }
}

?>