20 lines
794 B
PHP
20 lines
794 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use function DI\autowire;
|
|
|
|
use Netig\Netslim\AuditLog\Application\AuditLogApplicationService;
|
|
use Netig\Netslim\AuditLog\Application\AuditLogServiceInterface;
|
|
use Netig\Netslim\AuditLog\Contracts\AuditLoggerInterface;
|
|
use Netig\Netslim\AuditLog\Contracts\AuditLogReaderInterface;
|
|
use Netig\Netslim\AuditLog\Domain\Repository\AuditLogRepositoryInterface;
|
|
use Netig\Netslim\AuditLog\Infrastructure\PdoAuditLogRepository;
|
|
|
|
return [
|
|
AuditLogServiceInterface::class => autowire(AuditLogApplicationService::class),
|
|
AuditLoggerInterface::class => autowire(AuditLogApplicationService::class),
|
|
AuditLogReaderInterface::class => autowire(AuditLogApplicationService::class),
|
|
AuditLogRepositoryInterface::class => autowire(PdoAuditLogRepository::class),
|
|
];
|