control->type = 'image'; $this->control->src = $src; $this->control->alt = $alt; } public function loadHttpData() : void { parent::loadHttpData(); $this->value = $this->value ? [(int) \array_shift($this->value), (int) \array_shift($this->value)] : null; } public function getHtmlName() : string { return parent::getHtmlName() . '[]'; } }