public function setCurrentPage(Content $entry) { $this['current_page'] = $entry; }
public function convert($raw, Content $node) { $this->config->setCurrentPage($node); return $this->converter->convertToHtml($raw); }