first commit
This commit is contained in:
19
src/AuditLog/Infrastructure/dependencies.php
Normal file
19
src/AuditLog/Infrastructure/dependencies.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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),
|
||||
];
|
||||
Reference in New Issue
Block a user