protected function insideRender(ITemplate $template) { $template->latestDraft = $this->newerDraftExists ? $this->wikiDraftRepository->getLatestByWiki($this->item) : null; }
protected function insideRender(ITemplate $template) { $template->latestDraft = $this->newerDraftExists ? $this->wikiDraftRepository->getLatestByWiki($this->item) : null; }