'horizontal-key-value']; protected $tag = 'div'; public function __construct($key, $value) { $this->key = $key; $this->value = $value; } protected function assemble() { $this->add([ Html::tag('div', ['class' => 'key'], $this->key), Html::tag('div', ['class' => 'value'], $this->value) ]); } }