chore: Move interfaces into Domain

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2023-11-26 13:09:47 +01:00
parent c0e876bd42
commit 05af371010
340 changed files with 1813 additions and 1421 deletions

View File

@@ -26,9 +26,10 @@ namespace SP\Modules\Web\Controllers\Client;
use Exception;
use SP\Core\Acl\AclActionsInterface;
use JsonException;
use SP\Core\Events\Event;
use SP\Core\Events\EventMessage;
use SP\Domain\Core\Acl\AclActionsInterface;
use SP\Http\JsonResponse;
use SP\Modules\Web\Controllers\Traits\JsonTrait;
use SP\Mvc\Controller\ItemTrait;
@@ -38,7 +39,8 @@ use SP\Mvc\Controller\ItemTrait;
*/
final class DeleteController extends ClientSaveBase
{
use JsonTrait, ItemTrait;
use ItemTrait;
use JsonTrait;
/**
* Delete action
@@ -46,7 +48,7 @@ final class DeleteController extends ClientSaveBase
* @param int|null $id
*
* @return bool
* @throws \JsonException
* @throws JsonException
*/
public function deleteAction(?int $id = null): bool
{