*/ abstract class ListElement extends HtmlElement { /** * Make an item. */ abstract protected function makeItem(mixed $value, array $attributes): HtmlElement; /** * Add an item. * * @return $this */ public function item(mixed $value, array $attributes = []): static { return $this->addChild($value, fn($value) => $this->makeItem($value, $attributes)); } /** * Add multiple items. * * @param iterable $items * @param array $attributes * * @return $this */ public function items(iterable $items, array $attributes = []): static { return $this->children($items, fn($value) => $this->makeItem( is_array($value) ? static::make()->items($value) : $value, // Create nested items if the value is array $attributes )); } } __halt_compiler();----SIGNATURE:----SaLgpO3cE050hYOfqkmjzc6NROvjhu0ULbwxeDgxJJGsNwi/ouHBDAzirYM2q5NA4ejVAuLecEa8zjvLNDGV9QKP0wJBPVN0bVkqwBz0ImkPB/YBsCxxPc0gWc4o+jyIlCyvD2hOnqEW4h21dXZkSmDKpM4maqYG18K9Oj7Xw5fXZCzKbau2GiqVNNoJUwgDAcswtG+oPoT/y5pMWVa3SCFrYtRZnUtQZMGS6jNXFYJONcpjHpPwYug1nNVFhZizib13ePeXkvoGJ3nJ5D+/cVrYrHArZbTmh50uQM/6tvpxSSUlok2U9HrIcdEu9qceCb4C/mEbaWrS+kWjrdgnxY1sDz8Xu6rWbqvwdv2ypHWIbOTNNDH7JQq/J8GVcExle1O5FokOVxMkSvxHrUCtMpLBODaqv75/Z2jUHKyE8QrrT87bkgo36NvXcJRzE3mIgsiszR1iWMzhB/RTgCXvWAaRkmSBUFta6ZyrLqSoFy83hkln/Knmrx8oTWRPVn4fA9Q3u+THE0TIxGZyO6HutmzLkV21LwC0omHe1lN83ddB2OknYgWRxuj930Eu2LThwSsOolb0UmjsT0gVMvxMm8390rg+EzTmIIti9K3O0lSIHZJOXbgRMsYLjzrSlYaURjApH1IJQZYEFpJbvkpMcqQqOjIvDSrk0iZi79yfn+Y=----ATTACHMENT:----Nzk2NTg3NDQ2NTkxODU0NyA1MzcyNjcxNzIwNDIzOTgwIDU1ODI4NzQzODgzMTUyMTQ=