mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 00:24:08 +01:00
chore: Move interfaces into Domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -26,12 +26,14 @@ namespace SP\Modules\Web\Controllers\ConfigBackup;
|
||||
|
||||
|
||||
use Exception;
|
||||
use SP\Core\Acl\AclActionsInterface;
|
||||
use SP\Core\Acl\UnauthorizedPageException;
|
||||
use SP\Core\Application;
|
||||
use SP\Core\Context\SessionContext;
|
||||
use SP\Core\Events\Event;
|
||||
use SP\Core\Events\EventMessage;
|
||||
use SP\Core\Exceptions\SessionTimeout;
|
||||
use SP\Core\Exceptions\SPException;
|
||||
use SP\Domain\Core\Acl\AclActionsInterface;
|
||||
use SP\Domain\Export\Ports\FileBackupServiceInterface;
|
||||
use SP\Http\JsonResponse;
|
||||
use SP\Modules\Web\Controllers\SimpleControllerBase;
|
||||
@@ -59,7 +61,7 @@ final class FileBackupController extends SimpleControllerBase
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
* @throws \SP\Core\Exceptions\SPException
|
||||
* @throws SPException
|
||||
*/
|
||||
public function fileBackupAction(): bool
|
||||
{
|
||||
@@ -95,8 +97,8 @@ final class FileBackupController extends SimpleControllerBase
|
||||
/**
|
||||
* initialize
|
||||
*
|
||||
* @throws \SP\Core\Exceptions\SPException
|
||||
* @throws \SP\Core\Exceptions\SessionTimeout
|
||||
* @throws SPException
|
||||
* @throws SessionTimeout
|
||||
*/
|
||||
protected function initialize(): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user