protected function addType(KalturaTypeReflector $objectReflector) { $type = $objectReflector->getType(); if ($objectReflector->isDeprecated()) { KalturaLog::info("Type deprecated [{$type}]"); return; } if (!array_key_exists($type, $this->_types)) { $this->_types[$type] = $objectReflector; } }