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