Move users into their own namespace.
This commit is contained in:
parent
16b0198c88
commit
f2aebb6d68
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user