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