original_string: protected function importScheduleFile()
      {
          $scheduleFile = Yii::getAlias($this->scheduleFile);
  
          if (!file_exists($scheduleFile)) {
              throw new InvalidConfigException("Can not load schedule file {$this->scheduleFile}");
          }
  
          $schedule = $this->schedule;
          call_user_func(function () use ($schedule, $scheduleFile) {
              include $scheduleFile;
          });
      }
code: protected function importScheduleFile()
      {
          $scheduleFile = Yii::getAlias($this->scheduleFile);
  
          if (!file_exists($scheduleFile)) {
              throw new InvalidConfigException("Can not load schedule file {$this->scheduleFile}");
          }
  
          $schedule = $this->schedule;
          call_user_func(function () use ($schedule, $scheduleFile) {
              include $scheduleFile;
          });
      }
code_tokens: protected function importScheduleFile ( ) { $ scheduleFile = Yii :: getAlias ( $ this -> scheduleFile ) ; if ( ! file_exists ( $ scheduleFile ) ) { throw new InvalidConfigException ( "Can not load schedule file {$this->scheduleFile}" ) ; } $ schedule = $ this -> schedule ; call_user_func ( function ( ) use ( $ schedule , $ scheduleFile ) { include $ scheduleFile ; } ) ; }
docstring: Import schedule file
  
  @throws InvalidConfigException
docstring_tokens: Import schedule file