CalendarLabels final readonly class
Minn\Front\CalendarLabels · public/minn/src/Minn/Front/CalendarLabels.php · 44 lines
The words a calendar prints: weekday names Sunday first, the short form each column shows (an initial or an abbreviation), month names by number, and the abbreviation the month navigation uses.
Used by 1
Constants and properties
| prop | readonly array $weekdays | Promoted from the constructor. |
| prop | readonly array $weekdayShort | Promoted from the constructor. |
| prop | readonly array $months | Promoted from the constructor. |
| prop | readonly array $monthAbbrev | Promoted from the constructor. |
Public
| new | __construct(array $weekdays, array $weekdayShort, array $months, array $monthAbbrev)# |
| ||||||||||||
| static | english(): self# | The English tables, with weekday initials as the reference shows by default. | ||||||||||||
| static | englishAbbreviated(): self# | The English tables with three-letter weekday abbreviations. |
Internals 1
Private and protected methods: how the class does its work. Not a contract; they change whenever the code is tidied.
| private | fromEnglish(Closure $short): self# |
|
Nothing matches.