SimpleBus/CommandBus — pull request #2 by jenkoian (2014-12-08 14:21:45+00:00)
Title: Removing type hint from CommandHandler

Hear me out..

I'm working on an example hexagonal app using commands and handlers. I wanted to introduce a command bus into the equation and liked the look of this.

One of the big concepts I want to put across in the application is the dependency rule and ensuring that we're only depending on inner dependencies.

So I'm creating adapters for any outer dependency. Therefore to use this library, I have something that looks like the following:

Example Command:
```php
house = HomeAloneHouseFactory::getHouse();
$this->dispatcher = $dispatcher;
}

/**
* @param $command
* @return mixed|void
*/
public function handle($command)
{
$house = $this->house->enterRoom($command->room);
$this->dispatcher->dispatch($house->releaseEvents());
}
}
```

The Adapter:
```php