Skip to content

Commit

Permalink
Update user module namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
voltan committed Nov 16, 2024
1 parent 35c8f90 commit 3eb3c72
Show file tree
Hide file tree
Showing 152 changed files with 397 additions and 397 deletions.
4 changes: 2 additions & 2 deletions bin/post-remove.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
use Laminas\Config\Config;
use Laminas\Db\Adapter\Adapter;
use Pi\Core\Installer\Remove;
use User\Service\PermissionService;
use User\Service\RoleService;
use Pi\User\Service\PermissionService;
use Pi\User\Service\RoleService;

// Composer autoloading
include realpath(__DIR__ . '/../../../vendor/autoload.php');
Expand Down
4 changes: 2 additions & 2 deletions bin/post-update.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
use Laminas\Config\Config;
use Laminas\Db\Adapter\Adapter;
use Pi\Core\Installer\Update;
use User\Service\PermissionService;
use User\Service\RoleService;
use Pi\User\Service\PermissionService;
use Pi\User\Service\RoleService;

// Composer autoloading
include realpath(__DIR__ . '/../../../vendor/autoload.php');
Expand Down
2 changes: 1 addition & 1 deletion config/module.config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace User;
namespace Pi\User;

use Laminas\Mvc\Middleware\PipeSpec;
use Laminas\Router\Http\Literal;
Expand Down
2 changes: 1 addition & 1 deletion src/Authentication/Oauth/Google.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace User\Authentication\Oauth;
namespace Pi\User\Authentication\Oauth;

use Google\Auth\AccessToken;
use Hybridauth\Exception\UnexpectedApiResponseException;
Expand Down
2 changes: 1 addition & 1 deletion src/Authentication/Oauth/Microsoft.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace User\Authentication\Oauth;
namespace Pi\User\Authentication\Oauth;

use Hybridauth\Exception\UnexpectedApiResponseException;
use Hybridauth\Provider\MicrosoftGraph as HybridauthMicrosoftGraph;
Expand Down
2 changes: 1 addition & 1 deletion src/Authentication/Oauth/Oauth2.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace User\Authentication\Oauth;
namespace Pi\User\Authentication\Oauth;


class Oauth2 implements OauthInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Authentication/Oauth/OauthInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace User\Authentication\Oauth;
namespace Pi\User\Authentication\Oauth;

interface OauthInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Factory/Handler/Admin/Cache/DeleteHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Cache;
namespace Pi\User\Factory\Handler\Admin\Cache;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\CacheService;
use Pi\User\Handler\Admin\Cache\DeleteHandler;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Cache\DeleteHandler;

class DeleteHandlerFactory implements FactoryInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Factory/Handler/Admin/Cache/ListHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Cache;
namespace Pi\User\Factory\Handler\Admin\Cache;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\CacheService;
use Pi\User\Handler\Admin\Cache\ListHandler;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Cache\ListHandler;

class ListHandlerFactory implements FactoryInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Factory/Handler/Admin/Cache/PersistHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace User\Factory\Handler\Admin\Cache;
namespace Pi\User\Factory\Handler\Admin\Cache;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\CacheService;
Expand All @@ -9,7 +9,7 @@
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Cache\PersistHandler;
use Pi\User\Handler\Admin\Cache\PersistHandler;

class PersistHandlerFactory implements FactoryInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Factory/Handler/Admin/Cache/ViewHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace User\Factory\Handler\Admin\Cache;
namespace Pi\User\Factory\Handler\Admin\Cache;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\Core\Service\CacheService;
Expand All @@ -9,7 +9,7 @@
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Cache\ViewHandler;
use Pi\User\Handler\Admin\Cache\ViewHandler;

class ViewHandlerFactory implements FactoryInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Permission\Page;
namespace Pi\User\Factory\Handler\Admin\Permission\Page;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Permission\Page\ListHandler;
use Pi\User\Service\PermissionService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Permission\Page\ListHandler;
use User\Service\PermissionService;

class ListHandlerFactory implements FactoryInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Permission\Resource;
namespace Pi\User\Factory\Handler\Admin\Permission\Resource;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Permission\Resource\ListHandler;
use Pi\User\Service\PermissionService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Permission\Resource\ListHandler;
use User\Service\PermissionService;

class ListHandlerFactory implements FactoryInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Permission\Role;
namespace Pi\User\Factory\Handler\Admin\Permission\Role;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Permission\Role\ListHandler;
use Pi\User\Service\PermissionService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Permission\Role\ListHandler;
use User\Service\PermissionService;

class ListHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Profile/AddHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Profile\AddHandler;
use Pi\User\Service\AccountService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\AddHandler;
use User\Service\AccountService;

class AddHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Profile/CleanHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Profile\CleanHandler;
use Pi\User\Service\AccountService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\CleanHandler;
use User\Service\AccountService;

class CleanHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Profile/DeleteHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Profile\DeleteHandler;
use Pi\User\Service\AccountService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\DeleteHandler;
use User\Service\AccountService;

class DeleteHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Profile/EditHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Profile\EditHandler;
use Pi\User\Service\AccountService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\EditHandler;
use User\Service\AccountService;

class EditHandlerFactory implements FactoryInterface
{
Expand Down
10 changes: 5 additions & 5 deletions src/Factory/Handler/Admin/Profile/ExportHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Media\Service\MediaService;
use Pi\User\Handler\Admin\Profile\ExportHandler;
use Pi\User\Handler\Admin\Profile\ListHandler;
use Pi\User\Service\AccountService;
use Pi\User\Service\ExportService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\ExportHandler;
use User\Handler\Admin\Profile\ListHandler;
use User\Service\AccountService;
use User\Service\ExportService;

class ExportHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Profile/ListHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Profile\ListHandler;
use Pi\User\Service\AccountService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\ListHandler;
use User\Service\AccountService;

class ListHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Profile/PasswordHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\PasswordHandler;
use User\Service\AccountService;
use Pi\User\Handler\Admin\Profile\PasswordHandler;
use Pi\User\Service\AccountService;

class PasswordHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Profile/StatusHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\StatusHandler;
use User\Service\AccountService;
use Pi\User\Handler\Admin\Profile\StatusHandler;
use Pi\User\Service\AccountService;

class StatusHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Profile/ViewHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Profile;
namespace Pi\User\Factory\Handler\Admin\Profile;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Profile\ViewHandler;
use User\Service\AccountService;
use Pi\User\Handler\Admin\Profile\ViewHandler;
use Pi\User\Service\AccountService;

class ViewHandlerFactory implements FactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Factory/Handler/Admin/Role/AddHandlerFactory.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace User\Factory\Handler\Admin\Role;
namespace Pi\User\Factory\Handler\Admin\Role;

use Laminas\ServiceManager\Factory\FactoryInterface;
use Pi\User\Handler\Admin\Role\AddHandler;
use Pi\User\Service\RoleService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Handler\Admin\Role\AddHandler;
use User\Service\RoleService;

class AddHandlerFactory implements FactoryInterface
{
Expand Down
Loading

0 comments on commit 3eb3c72

Please sign in to comment.