private function guardTaskHasVisitors() { if (!isset($this->options['visitors'])) { throw new RuntimeException('The parser context is not set. Please register it to the configurator!'); } }