for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace examples\Clearcode\CommandBusConsole\Application;
final class SignUpHandler
{
public function handle(SignUp $command)
var_dump($command);
if ('error' === $command->id) {
throw new \Exception('Error while executing command occurred.');
}