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