Your IP : 18.227.140.100


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/CarbonType.php

<?php

/**
 * This file is part of the Carbon package.
 *
 * (c) Brian Nesbitt <brian@nesbot.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Carbon\Doctrine;

use Doctrine\DBAL\Platforms\AbstractPlatform;

class CarbonType extends DateTimeType implements CarbonDoctrineType
{
    /**
     * {@inheritdoc}
     *
     * @return string
     */
    public function getName()
    {
        return 'carbon';
    }

    /**
     * {@inheritdoc}
     *
     * @return bool
     */
    public function requiresSQLCommentHint(AbstractPlatform $platform)
    {
        return true;
    }
}

?>