protected function getResourceInstance(SimpleXMLElement $elementToSearchIn, $conversionProfileId) { if (isset($elementToSearchIn->dropFolderFileContentResource)) { $resource = new KalturaDropFolderFileResource(); $attributes = $elementToSearchIn->dropFolderFileContentResource->attributes(); $resource->dropFolderFileId = (string) $attributes['dropFolderFileId']; return $resource; } return parent::getResourceInstance($elementToSearchIn, $conversionProfileId); }