ColumnCase.php 493 Bytes
Newer Older
1 2
<?php

Michael Moravec's avatar
Michael Moravec committed
3 4
declare(strict_types=1);

5 6 7 8 9
namespace Doctrine\DBAL;

/**
 * Contains portable column case conversions.
 */
10
final class ColumnCase
11 12 13 14 15 16
{
    /**
     * Convert column names to upper case.
     *
     * @see \PDO::CASE_UPPER
     */
17
    public const UPPER = 1;
18 19 20 21 22 23

    /**
     * Convert column names to lower case.
     *
     * @see \PDO::CASE_LOWER
     */
24
    public const LOWER = 2;
25 26 27 28

    /**
     * This class cannot be instantiated.
     */
29
    private function __construct()
30 31 32
    {
    }
}