function registerPreProcessor($contentType, $processor) { $this->preProcessors->register($contentType, $processor); return $this; }