protected function getSessionLocale() { if (!Session::has(self::SESSION_LOCALE)) { return null; } return Session::get(self::SESSION_LOCALE); }