Example Use | Laravel 5: String Translation Public API
The following example will resolve a translator instance from the service container and get the current MessageSelector instance. 1 <?php 2 // Ask the Service Container for a translator instance. 3 $ translator = app ( ' translator ' ) ; 4 5 //...