. */ namespace SP\Modules\Web\Controllers\ItemPreset; use SP\Core\Application; use SP\Domain\ItemPreset\ItemPresetServiceInterface; use SP\Modules\Web\Controllers\ControllerBase; use SP\Modules\Web\Forms\ItemsPresetForm; use SP\Mvc\Controller\WebControllerHelper; /** * Class ItemPresetSaveBase */ abstract class ItemPresetSaveBase extends ControllerBase { protected ItemPresetServiceInterface $itemPresetService; protected ItemsPresetForm $form; public function __construct( Application $application, WebControllerHelper $webControllerHelper, ItemPresetServiceInterface $itemPresetService ) { parent::__construct($application, $webControllerHelper); $this->checkLoggedIn(); $this->itemPresetService = $itemPresetService; $this->form = new ItemsPresetForm($application, $this->request); } }