protected function __construct(Item ...$items) { $this->items = $items; $this->htmlAttributes = new Attributes(); $this->parentAttributes = new Attributes(); }