original_string: public static function getLanguageForSession()
      {
          $cookieName = Config::getInstance()->General['language_cookie_name'];
          $cookie = new Cookie($cookieName);
          if ($cookie->isCookieFound()) {
              return $cookie->get('language');
          }
          return null;
      }
code: public static function getLanguageForSession()
      {
          $cookieName = Config::getInstance()->General['language_cookie_name'];
          $cookie = new Cookie($cookieName);
          if ($cookie->isCookieFound()) {
              return $cookie->get('language');
          }
          return null;
      }
code_tokens: public static function getLanguageForSession ( ) { $ cookieName = Config :: getInstance ( ) -> General [ 'language_cookie_name' ] ; $ cookie = new Cookie ( $ cookieName ) ; if ( $ cookie -> isCookieFound ( ) ) { return $ cookie -> get ( 'language' ) ; } return null ; }
docstring: Returns the language for the session
  
  @return string|null
docstring_tokens: Returns the language for the session