public function setZone(Request $request)
    {
        if ($zone = Zone::get($request)) {
            return $zone;
        }

        $zone = $this->determineZone($request);
        Zone::set($request, $zone);

        return $zone;
    }
public function setZone(Request $request)
    {
        if ($zone = Zone::get($request)) {
            return $zone;
        }

        $zone = $this->determineZone($request);
        Zone::set($request, $zone);

        return $zone;
    }
public function setZone ( Request $ request ) { if ( $ zone = Zone :: get ( $ request ) ) { return $ zone ; } $ zone = $ this -> determineZone ( $ request ) ; Zone :: set ( $ request , $ zone ) ; return $ zone ; }
Sets the request's zone if needed and returns it.

@param Request $request

@return string
Sets the request s zone if needed and returns it .