original_string: public static function includeConfigFile($filename, $application = null)
      {
          if (empty($application)) {
              $application = Yii::$app;
          }
          $appKey = UniApplication::appKey($application);
          if (!isset(self::$_configFiles[$appKey][$filename])) {
              if (is_file($filename)) {
                  self::$_configFiles[$appKey][$filename] = include($filename); // var $application can be used in $filename
              } else {
                  throw new InvalidConfigException("Config file '$filename' required");
              }
          }
          return self::$_configFiles[$appKey][$filename];
      }
code: public static function includeConfigFile($filename, $application = null)
      {
          if (empty($application)) {
              $application = Yii::$app;
          }
          $appKey = UniApplication::appKey($application);
          if (!isset(self::$_configFiles[$appKey][$filename])) {
              if (is_file($filename)) {
                  self::$_configFiles[$appKey][$filename] = include($filename); // var $application can be used in $filename
              } else {
                  throw new InvalidConfigException("Config file '$filename' required");
              }
          }
          return self::$_configFiles[$appKey][$filename];
      }
code_tokens: public static function includeConfigFile ( $ filename , $ application = null ) { if ( empty ( $ application ) ) { $ application = Yii :: $ app ; } $ appKey = UniApplication :: appKey ( $ application ) ; if ( ! isset ( self :: $ _configFiles [ $ appKey ] [ $ filename ] ) ) { if ( is_file ( $ filename ) ) { self :: $ _configFiles [ $ appKey ] [ $ filename ] = include ( $ filename ) ; // var $application can be used in $filename } else { throw new InvalidConfigException ( "Config file '$filename' required" ) ; } } return self :: $ _configFiles [ $ appKey ] [ $ filename ] ; }
docstring: Get, save in cache and return result of include file
  @param string $filename
  @param Application $application
  Note if config has some calculations caching may be not correct.
docstring_tokens: Get save in cache and return result of include file