public function determineLocale(Request $request)
    {
        return $this->hostMapping->flip()->get($request->getHost(), $this->fallback);
    }
public function determineLocale(Request $request)
    {
        return $this->hostMapping->flip()->get($request->getHost(), $this->fallback);
    }
public function determineLocale ( Request $ request ) { return $ this -> hostMapping -> flip ( ) -> get ( $ request -> getHost ( ) , $ this -> fallback ) ; }
Determine the locale from the current host.

@param  \Illuminate\Http\Request  $request
@return  string
Determine the locale from the current host .