예제 #1
0
 /**
  * Sets the base url for the site
  *
  * @param string $url Base url for the site
  * @static 
  */
 public static function setBaseUrl($url)
 {
     return \Mcamara\LaravelLocalization\LaravelLocalization::setBaseUrl($url);
 }
예제 #2
0
 function __construct()
 {
     $laravelLocalization = new LaravelLocalization();
     $this->lang = $laravelLocalization->getCurrentLocale();
 }
예제 #3
0
 function __construct(LaravelLocalization $laravelLocalization)
 {
     $this->lang = $laravelLocalization->getCurrentLocale();
 }