3 class FormElement implements FormElementInterface
8 public function __construct($type, $item)
14 public function toString()
16 return Template::render('input/' . $this->type, $this->item);
19 public function __toString()
22 return $this->toString();
23 } catch (Throwable $e) {
24 error_log($e->getMessage());