Showing 7 of 1,216 result(s)
The SORT_FLAG_CASE flag can be combined with the SORT_NATURAL flag to treat each item as a string while also ignored the case of each item. The following example shows how to use the SORT_NATURAL with the SORT_FLAG_CASE flag when sorting the...
Option Result Original Order 0 1 2 3 4 5 6 7 8 9 10 11 12 SORT_NATURAL 7 6 3 1 0 5 2 11 10 9 4 8 12 SORT_NATURAL | SORT_FLAG_CASE 7 6 1 0 5 2 11 10 9 4 3 8 12
The FileLoader implements the Illuminate\Translation\LoaderInterface contract. The LoaderInterface requires two public methods load and addNamespace . FileLoader does not add any extra public methods to its implementation.
The load method is used to load the messages for the provided $locale . The load method also requires a $group to be specified. The $group corresponds to the actual file of key/value pairs that should be loaded (such as pagination.php or...
The addNamespace method is responsible for adding a given $namespace to the loader. Each namespace requires a $hint . The $namespace parameter is used to give a name to the namespace, which typically would correspond to a package name, or some...
To prevent conflicts between multiple vendors using the same group names for a particular locale, the translator component allows the usage of "namespaces". Namespaces are a way to refer to a specific collection of locales and groups, where...
Message tags act as a sort of comment to help explain the various translation messages when dealing with pluralization. Tags appear at the beginning of a translation message, contain no spaces and end with one colon character ( : ). The following...