<?php
 namespace App\Form\Input; class Cloned_KeyValue extends \Engine\Form\Input\ElementAbstract { protected $class = "clonedKeyValue"; protected $codeMaxLength=null; public function __construct($label=null, $name=null, $value=null) { parent::__construct($label, $name, $value); $this->settings['minItems'] = 1; $this->settings['operations'] = []; $this->settings['operations']['add'] = true; $this->settings['operations']['remove'] = true; $this->settings['operations']['move'] = true; } public function setCodeMaxlength($maxLen) { $this->codeMaxLength=$maxLen; return $this; } public function getCodeMaxlength() { return $this->codeMaxLength; } } 