public function registerCompileHandlerByContentType($contentType, $serviceId) { $this->handlerByType[strtolower($contentType)] = $serviceId; }