chore: complete update

This commit is contained in:
2025-07-17 16:24:20 +02:00
parent 899227b0a4
commit 64a7051137
1300 changed files with 85570 additions and 2756 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace App\Framework\Queue;
use App\Framework\Core\PathProvider;
use App\Framework\DI\Initializer;
final readonly class QueueInitializer
{
public function __construct(
private PathProvider $pathProvider
)
{
}
#[Initializer]
public function __invoke(): Queue
{
$queue = new RedisQueue(
queueName: 'commands',
host: 'redis',
port: 6379,
);
$path = $this->pathProvider->resolvePath('/src/Framework/CommandBus/storage/queue/');
return new FileQueue($path);
}
}