Example #1
0
 /**
  * Template method. Check passed options step
  *
  * @param array $options
  * @return void
  * @throws \InvalidArgumentException
  */
 protected function checkOptions($options)
 {
     parent::checkOptions($options);
     if (!isset($options['parse']['config_files']) || empty($options['parse']['config_files'])) {
         throw new \InvalidArgumentException('Parse error. Passed option "config_files" is wrong.');
     }
 }