for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpGitHooks\Infrastructure\CommandBus;
class BusOptionsResolver
{
/**
* @var array
*/
private $option = [];
public function addOption($command, $handler)
$this->option[$command] = $handler;
}
* @param string $command
*
* @return array
public function getOption($command)
return $this->option[$command];