Signature | Laravel 5: String Translation Public API
The signature of the has method is: 1 2 public function has ( 3 $ key , 4 $ locale = null , 5 $ fallback = true 6 ) ;
Showing 10 of 2,133 results.
The signature of the has method is: 1 2 public function has ( 3 $ key , 4 $ locale = null , 5 $ fallback = true 6 ) ;
1 public function hasForLocale ( 2 $ key , 3 $ locale = null 4 ) ;
The signature of the choice method is: 1 public function choice ( 2 $ key , 3 $ number , 4 array $ replace = [ ] , 5 $ locale = null 6 ) ;
The Laravel translator also exposes a transChoice method which just acts as an alias to the choice method for backwards compatibility. Their signatures and behavior are the same.
The signature for the load method is: 1 public function load ( 2 $ namespace , 3 $ group , 4 $ locale 5 ) ;
The signature of the getLoader method is: 1 public function getLoader ( ) ;
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.
The signature for the addLines method is: 1 public function addLines ( 2 array $ lines , 3 $ locale , 4 $ namespace = ' * ' 5 ) ;
The signature of the parseKey method is: 1 public function parseKey ( 2 $ key 3 ) ;
The signature of the getSelector method is: 1 public function getSelector ( ) ;