Retrieving a Message Selector Instance With getSelector | Laravel 5: String Translation Public API
The getSelector method returns the instance of Illuminate\Translation\MessageSelector that the translator is currently using. If no MessageSelector has been previously set, a new instance of MessageSelector is created, set, and returned.