for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Gacela\Framework\Event\Dispatcher;
use Gacela\Framework\Config\Config;
use Gacela\Framework\Event\GacelaEventInterface;
trait EventDispatchingCapabilities
{
private function dispatchEvent(GacelaEventInterface $event): void
Config::getEventDispatcher()->dispatch($event);
}