Вход Регистрация
Файл: vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php
Строк: 32
<?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 CarbonDoctrine;

use 
DoctrineDBALPlatformsAbstractPlatform;

class 
CarbonImmutableType extends DateTimeImmutableType implements CarbonDoctrineType
{
    
/**
     * {@inheritdoc}
     *
     * @return string
     */
    
public function getName()
    {
        return 
'carbon_immutable';
    }

    
/**
     * {@inheritdoc}
     *
     * @return bool
     */
    
public function requiresSQLCommentHint(AbstractPlatform $platform)
    {
        return 
true;
    }
}
Онлайн: 2
Реклама