You've already forked Php-Template
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m15s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Failing after 3m7s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m28s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m47s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Failing after 3m32s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 1m51s
20 lines
378 B
PHP
20 lines
378 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Siteworxpro\App\Async\Brokers;
|
|
|
|
abstract class Broker implements BrokerInterface
|
|
{
|
|
public const array BROKER_TYPES = [
|
|
'redis' => Redis::class,
|
|
'rabbitmq' => RabbitMQ::class,
|
|
'kafka' => Kafka::class,
|
|
'sqs' => Sqs::class,
|
|
];
|
|
|
|
public function __construct(protected $config = [])
|
|
{
|
|
}
|
|
}
|