Move users into their own namespace.

This commit is contained in:
Dave Smith-Hayes 2024-06-27 19:31:29 -04:00
parent 16b0198c88
commit f2aebb6d68
5 changed files with 6 additions and 6 deletions

View File

@ -24,8 +24,8 @@ use Slovocast\Configuration\DatabaseConnectionSchema;
use Slovocast\Configuration\SessionSchema; use Slovocast\Configuration\SessionSchema;
use Twig\Error\LoaderError; use Twig\Error\LoaderError;
use Slovocast\Domain\Repository\UserRepositoryInterface; use Slovocast\Domain\Repository\User\UserRepositoryInterface;
use Slovocast\Domain\Repository\UserRepository; use Slovocast\Domain\Repository\User\UserRepository;
use Slovocast\Infrastructure\User\UserAuthorizationInterface; use Slovocast\Infrastructure\User\UserAuthorizationInterface;
use Slovocast\Infrastructure\User\BasicUserAuthorization; use Slovocast\Infrastructure\User\BasicUserAuthorization;

View File

@ -3,7 +3,7 @@
namespace Slovocast\Controller\User; namespace Slovocast\Controller\User;
use Slovocast\Controller\Controller; use Slovocast\Controller\Controller;
use Slovocast\Domain\Repository\UserRepositoryInterface; use Slovocast\Domain\Repository\User\UserRepositoryInterface;
use Slovocast\Infrastructure\User\UserAuthorizationInterface; use Slovocast\Infrastructure\User\UserAuthorizationInterface;
use Slovocast\Exception\EntityNotFoundException; use Slovocast\Exception\EntityNotFoundException;
use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ResponseInterface as Response;

View File

@ -5,7 +5,7 @@ namespace Slovocast\Controller\User;
use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ResponseInterface as Response;
use Slovocast\Controller\Controller; use Slovocast\Controller\Controller;
use Slovocast\Domain\Entity\User; use Slovocast\Domain\Entity\User;
use Slovocast\Domain\Repository\UserRepositoryInterface; use Slovocast\Domain\Repository\User\UserRepositoryInterface;
use Odan\Session\SessionInterface; use Odan\Session\SessionInterface;
class RegisterUserAction extends Controller class RegisterUserAction extends Controller

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Slovocast\Domain\Repository; namespace Slovocast\Domain\Repository\User;
use function React\Async\await; use function React\Async\await;
use React\Mysql\MysqlClient; use React\Mysql\MysqlClient;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Slovocast\Domain\Repository; namespace Slovocast\Domain\Repository\User;
use Slovocast\Domain\Entity\User; use Slovocast\Domain\Entity\User;