public function index()
 {
     // Setup the command handler
     $commandHandler = new ExampleCommandHandler();
     // Create a command bus and subscribe the command handler at the command bus
     $commandBus = new SimpleCommandBus();
     $commandBus->subscribe($commandHandler);
     // Create and dispatch the command!
     $command = new ExampleCommand('Hi from command!');
     $commandBus->dispatch($command);
 }