PhpFile final class
Minn\I18n\PhpFile · public/minn/src/Minn/I18n/PhpFile.php · 22 lines
The PHP translation file (.l10n.php): a file that returns an array of its lower-cased headers and a "messages" map from the gettext key to the translation, plural forms joined by NUL bytes. It is the site's own data, read the way the reference reads it, by including it.
Uses 1
Used by 1
Public
| static | read(string $file): ?Minn\I18n\Catalog# | The catalog a .l10n.php file returns, or null when it returns no messages. |
Nothing matches.