20250321#1

This commit is contained in:
User
2025-03-21 21:50:55 +03:00
parent ddb82ee395
commit c2a14307ae
3 changed files with 3 additions and 3 deletions

View File

@@ -9,5 +9,5 @@ composer create-project rmphp/skeleton project-name
``` ```
```bash ```bash
composer create-project rmphp/skeleton:"^4.8" project-name composer create-project rmphp/skeleton:"^4.9" project-name
``` ```

View File

@@ -17,7 +17,7 @@
"rmphp/router": "^2.0", "rmphp/router": "^2.0",
"rmphp/session": "^1.1", "rmphp/session": "^1.1",
"rmphp/redis": "^1.0", "rmphp/redis": "^1.0",
"rmphp/storage": "^6.0", "rmphp/storage": "^7.0",
"symfony/dotenv": "^6.2" "symfony/dotenv": "^6.2"
}, },
"autoload": { "autoload": {

View File

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