* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ use PrestaShop\PrestaShop\Core\Foundation\Templating\RenderableInterface; interface FormInterface extends RenderableInterface { public function setAction($action); public function fillWith(array $params = []); public function submit(); public function getErrors(); public function hasErrors(); public function render(array $extraVariables = []); public function setTemplate($template); }