Nextras\Orm\Mapper\Dbal\StorageReflection\StorageReflection::getDefaultModifiers PHP Метод

getDefaultModifiers() защищенный Метод

protected getDefaultModifiers ( )
    protected function getDefaultModifiers()
    {
        $modifiers = [];
        switch ($this->platform->getName()) {
            case 'postgresql':
                $types = ['TIMESTAMP' => true];
                break;
            case 'mysql':
                $types = ['DATETIME' => true];
                break;
            default:
                throw new NotSupportedException();
        }
        foreach ($this->platform->getColumns($this->storageName) as $column) {
            if (isset($types[$column['type']])) {
                $modifiers[$column['name']] = $column['is_nullable'] ? '%?dts' : '%dts';
            }
        }
        return $modifiers;
    }