<?php
 namespace App\Form\Input; class SortableList extends \Engine\Form\Input\ElementAbstract { protected $class = "sortableList"; protected $listItems = []; protected function getTemplateParams($templateClass = null, $parentElement = null) { $params = parent::getTemplateParams($templateClass, $parentElement ); $params['listItems'] = $this->listItems; return $params; } public function getListItems() { return $this->listItems; } public function setListItems($listItems) { $this->listItems= $listItems; return $this; } } 