public function determineLocale(Request $request)
    {
        $locale = $this->determiners
            ->map(function ($determiner) use ($request) {
                return $determiner->determineLocale($request);
            })
            ->filter()
            ->first();

        return $locale ?: $this->fallback;
    }
public function determineLocale(Request $request)
    {
        $locale = $this->determiners
            ->map(function ($determiner) use ($request) {
                return $determiner->determineLocale($request);
            })
            ->filter()
            ->first();

        return $locale ?: $this->fallback;
    }
public function determineLocale ( Request $ request ) { $ locale = $ this -> determiners -> map ( function ( $ determiner ) use ( $ request ) { return $ determiner -> determineLocale ( $ request ) ; } ) -> filter ( ) -> first ( ) ; return $ locale ? : $ this -> fallback ; }
Determine the locale from the underlying determiner stack.

@param  \Illuminate\Http\Request  $request
@return  string|null
Determine the locale from the underlying determiner stack .