Locale final class
Minn\Support\Locale · public/minn/src/Minn/Support/Locale.php · 31 lines
The locale's calendar and number vocabulary as data: the names a site prints for weekdays, months and meridiems, and how it separates thousands and decimals.
The names are English here because the engine carries no core translations yet; the facade runs each one through the translation filters on the way out, so a catalogue can answer for them later without this class changing.
Used by 1
Constants and properties
| const | WEEKDAYS = array ( 0 => 'Sunday', 1 => 'Monday', 2 => 'Tuesday', 3 => 'Wednesday', 4 => 'Thursday', 5 => 'Friday', 6 => 'Saturday', ) | |
| const | MONTHS = array ( 0 => 'January', 1 => 'February', 2 => 'March', 3 => 'April', 4 => 'May', 5 => 'June', 6 => 'July', 7 => 'August', 8 => 'September', 9 => 'October', 10 => 'November', 11 => 'December', ) | |
| const | MERIDIEM = array ( 'am' => 'am', 'pm' => 'pm', 'AM' => 'AM', 'PM' => 'PM', ) | |
| const | NUMBER_FORMAT = array ( 'thousands_sep' => ',', 'decimal_point' => '.', ) | |
| const | LIST_ITEM_SEPARATOR = ', ' | |
| const | WORD_COUNT_TYPE = 'words' | |
| const | TEXT_DIRECTION = 'ltr' |
Public
Nothing matches.