public function createPlaceholderContent($pageId, $contentType) { $content = new Content(); $content->content = $contentType['placeholder']; $content->contentTypeSlug = $contentType['name']; $content->parentId = $pageId; $content->save(); }