/** * @param Rendered|string $content * @return $this */ public function prepareContent($content) { if ($content instanceof Rendered) { //$this->content = $content->setService(new Service()); $content->recursiveOnLoad(); } return $this; }
/** * @param Rendered|string $content * @return $this */ public function prepareContent($content) { if ($content instanceof Rendered) { $content->recursiveOnLoad(); } return $this; }