mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-07 17:06:54 +01:00
chore: Adapt to hexagonal architecture pattern.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -31,8 +31,8 @@ use SP\Core\Application;
|
||||
use SP\Core\Exceptions\ConstraintException;
|
||||
use SP\Core\Exceptions\QueryException;
|
||||
use SP\DataModel\NotificationData;
|
||||
use SP\Domain\Notification\NotificationServiceInterface;
|
||||
use SP\Domain\User\UserServiceInterface;
|
||||
use SP\Domain\Notification\Ports\NotificationServiceInterface;
|
||||
use SP\Domain\User\Ports\UserServiceInterface;
|
||||
use SP\Infrastructure\Common\Repositories\NoSuchItemException;
|
||||
use SP\Modules\Web\Controllers\ControllerBase;
|
||||
use SP\Mvc\Controller\WebControllerHelper;
|
||||
@@ -49,7 +49,7 @@ abstract class NotificationViewBase extends ControllerBase
|
||||
public function __construct(
|
||||
Application $application,
|
||||
WebControllerHelper $webControllerHelper,
|
||||
NotificationServiceInterface $notificationService,
|
||||
\SP\Domain\Notification\Ports\NotificationServiceInterface $notificationService,
|
||||
UserServiceInterface $userService
|
||||
) {
|
||||
parent::__construct($application, $webControllerHelper);
|
||||
@@ -97,4 +97,4 @@ abstract class NotificationViewBase extends ControllerBase
|
||||
$this->view->assign('readonly', false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user