public function offsetExists($contentType) { $contentType = $this->normalizeContentType($contentType); return array_key_exists($contentType, $this->_factories); }