public function doFromObject($dbObject, KalturaDetachedResponseProfile $responseProfile = null) { if (!$dbObject instanceof LiveEntry) { return; } parent::doFromObject($dbObject, $responseProfile); if ($this->shouldGet('recordingOptions', $responseProfile) && !is_null($dbObject->getRecordingOptions())) { $this->recordingOptions = new KalturaLiveEntryRecordingOptions(); $this->recordingOptions->fromObject($dbObject->getRecordingOptions()); } }