Showing 10 of 1,278 results.

Signature | Laravel 5: String Translation Public API

The signature of the addNamespace method is: 1 public function addNamespace ( 2 $ namespace , 3 $ hint 4 ) ; The parameters of this method match the parameters of the loader's addNamespace method.

Example Use | Laravel 5: String Translation Public API

The following example demonstrates how to use the addLines method to add lines to the existing translator instance. We need to supply it a locale, but we will explore methods to do this dynamically based on the currently configured default locale....

Example Use | Laravel 5: String Translation Public API

The following example will demonstrate how to call the parseKey method to return information about the translation key: 1 $ parts = $ translator -> parseKey ( ' passwords.reset ' ) ; After the above code has executed, the $parts array would...

Filter Search