public function content($content) { if ($content instanceof Renderable) { $this->attributes['content'] = $content->render(); } else { $this->attributes['content'] = (string) $content; } return $this; }