public function addMapper($contentType, IMapper $mapper) { $this->services[$contentType] = $mapper; }