20250303#2

This commit is contained in:
User
2025-03-03 14:25:44 +03:00
parent fee7f1466c
commit 70810412f4
20 changed files with 25 additions and 28 deletions

View File

@@ -0,0 +1,10 @@
<?php
use Rmphp\Storage\Mysql\MysqlStorage;
use Rmphp\Storage\Mysql\MysqlStorageInterface;
return [
MysqlStorageInterface::class => DI\create(MysqlStorage::class)->constructor(json_decode(getenv("MYSQL_PARAM"), true)),
'App\Domain\Repository\*RepositoryInterface' => DI\autowire('App\Infrastructure\Repository\*Repository'),
'App\*\Domain\Repository\*RepositoryInterface' => DI\autowire('App\*\Infrastructure\Repository\*Repository'),
];

View File

@@ -0,0 +1,5 @@
<?php
return [
//"container key"=>value
];