for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace GitWrapper\EventSubscriber;
use GitWrapper\Event\GitOutputEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
abstract class AbstractOutputEventSubscriber implements EventSubscriberInterface
{
/**
* @return string[]
*/
public static function getSubscribedEvents(): array
return [
GitOutputEvent::class => 'handleOutput',
];
}
abstract public function handleOutput(GitOutputEvent $gitOutputEvent): void;