function registerPostProcessor($contentType, $processor) { $this->postProcessors->register($contentType, $processor); return $this; }