Skip to content

Commit

Permalink
Move to Core module
Browse files Browse the repository at this point in the history
  • Loading branch information
voltan committed Nov 11, 2024
1 parent 9a50a4e commit 892aeee
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
use Laminas\Mvc\Middleware\PipeSpec;
use Laminas\Router\Http\Literal;
use Logger\Middleware\LoggerRequestResponseMiddleware;
use Pi\Core\Middleware\InstallerMiddleware;
use Pi\Core\Middleware\RequestPreparationMiddleware;
use Pi\Core\Middleware\SecurityMiddleware;
use User\Middleware\AuthenticationMiddleware;
use User\Middleware\AuthorizationMiddleware;
use User\Middleware\InstallerMiddleware;
use User\Middleware\RequestPreparationMiddleware;

return [
'service_manager' => [
Expand Down
4 changes: 2 additions & 2 deletions src/Factory/Handler/InstallerHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace Notification\Factory\Handler;

use Psr\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Notification\Handler\InstallerHandler;
use Pi\Core\Service\InstallerService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use User\Service\InstallerService;

class InstallerHandlerFactory implements FactoryInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Factory/Service/NotificationServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Notification\Factory\Service;

use Psr\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Notification\Repository\NotificationRepositoryInterface;
use Notification\Sender\Mail\LaminasMail;
Expand All @@ -14,9 +13,10 @@
use Notification\Sender\SMS\PayamakYab;
use Notification\Sender\SMS\Twilio;
use Notification\Service\NotificationService;
use Pi\Core\Service\UtilityService;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use User\Service\UtilityService;

class NotificationServiceFactory implements FactoryInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/InstallerHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace Notification\Handler;

use Laminas\Diactoros\Response\JsonResponse;
use Pi\Core\Service\InstallerService;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\StreamFactoryInterface;
use Psr\Http\Server\RequestHandlerInterface;
use stdClass;
use User\Service\InstallerService;

class InstallerHandler implements RequestHandlerInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Service/NotificationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Notification\Sender\SMS\Nexmo;
use Notification\Sender\SMS\PayamakYab;
use Notification\Sender\SMS\Twilio;
use User\Service\UtilityService;
use Pi\Core\Service\UtilityService;

class NotificationService implements ServiceInterface
{
Expand Down

0 comments on commit 892aeee

Please sign in to comment.