public function loadContentTypeDraft($contentTypeId) { $contentTypeDraft = $this->contentTypeService->loadContentTypeDraft($contentTypeId); return new Values\RestContentType($contentTypeDraft, $contentTypeDraft->getFieldDefinitions()); }