original_string: protected function loadFromCookie()
      {
          if ($this->cookieLanguageField && ($language = Yii::$app->request->cookies->has($this->cookieLanguageField))) {
              return $language;
          }
  
          return false;
      }
code: protected function loadFromCookie()
      {
          if ($this->cookieLanguageField && ($language = Yii::$app->request->cookies->has($this->cookieLanguageField))) {
              return $language;
          }
  
          return false;
      }
code_tokens: protected function loadFromCookie ( ) { if ( $ this -> cookieLanguageField && ( $ language = Yii :: $ app -> request -> cookies -> has ( $ this -> cookieLanguageField ) ) ) { return $ language ; } return false ; }
docstring: Load language from client cookie.
  
  @return string|bool
docstring_tokens: Load language from client cookie .