* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ /** * Step 2 : display license form */ class InstallControllerHttpLicense extends InstallControllerHttp implements HttpConfigureInterface { /** * {@inheritdoc} */ public function processNextStep(): void { $this->session->licence_agrement = (bool) Tools::getValue('licence_agrement'); $this->session->configuration_agrement = Tools::getValue('configuration_agrement'); } /** * {@inheritdoc} */ public function validate(): bool { return (bool) $this->session->licence_agrement; } /** * {@inheritdoc} */ public function display(): void { $this->displayContent('license'); } }