html = $html; $this->parentAttributes = new Attributes(); } /** * Create an item containing a chunk of raw html. * * @param string $html * * @return static */ public static function raw(string $html) { return new static($html); } /** * Create an empty item. * * @return static */ public static function empty() { return new static(''); } /** * @return string */ public function html(): string { return $this->html; } /** * @return string */ public function render(): string { return $this->html; } }