20250113#1

This commit is contained in:
User committed 2025-01-13 04:44:41 +03:00
1 parent 794e82f7ce
commit bf529d83c8
12 files changed
+6 -215

No files matched your search

+1 -4
View File
@@ -2,14 +2,11 @@
use Rmphp\Cache\Cache;
use Rmphp\Cache\CacheInterface;
use Rmphp\Session\Session;
use Rmphp\Session\SessionInterface;
use Rmphp\Storage\Mysql\MysqlStorage;
use Rmphp\Storage\Mysql\MysqlStorageInterface;
return [
MysqlStorageInterface::class => DI\create(MysqlStorage::class)->constructor(json_decode(getenv("MYSQL_PARAM"), true)),
SessionInterface::class => DI\create(Session::class)->constructor(),
CacheInterface::class => DI\create(Cache::class)->constructor("../var/cache"),
'App\*\Domain\Repository\*RepositoryInterface' => DI\autowire('App\*\Infrastructure\Repository\*Repository'),
];
];