for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Antidot\Event\Container\Config;
use Antidot\Event\Container\EventDispatcherFactory;
use Psr\EventDispatcher\EventDispatcherInterface;
class ConfigProvider
{
/**
* @return array<mixed>
*/
public function __invoke(): array
return [
'factories' => [
EventDispatcherInterface::class => EventDispatcherFactory::class,
],
'app-events' => [
// 'event-listeners' => [
// 'event.name' => [
// 'Listener1',
// 'Listener2',
// ...
// ]
]
];
}