Debian Codegraph @

lib/3rdParty/composer/nesbot/carbon/src/Carbon/Constants/TranslationOptions.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 /**
6 * This file is part of the Carbon package.
7 *
8 * (c) Brian Nesbitt <[email protected]>
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
12 */
13
14 namespace Carbon\Constants;
15
16 interface TranslationOptions
17 {
18 /**
19 * Translate string options.
20 */
21 public const TRANSLATE_MONTHS = 1;
22 public const TRANSLATE_DAYS = 2;
23 public const TRANSLATE_UNITS = 4;
24 public const TRANSLATE_MERIDIEM = 8;
25 public const TRANSLATE_DIFF = 0x10;
26 public const TRANSLATE_ALL = self::TRANSLATE_MONTHS | self::TRANSLATE_DAYS | self::TRANSLATE_UNITS | self::TRANSLATE_MERIDIEM | self::TRANSLATE_DIFF;
27
28 /**
29 * Special settings to get the start of week from current locale culture.
30 */
31 public const WEEK_DAY_AUTO = 'auto';
32
33 /**
34 * Default locale (language and region).
35 *
36 * @var string
37 */
38 public const DEFAULT_LOCALE = 'en';
39 }