protected function invokeParser($content, $is_match) { if ($content === '' || $content === false) { return true; } $handler = $this->mode_handlers[$this->mode->getCurrent()]; return $this->parser->{$handler}($content, $is_match); }