smoench/apl — pull request #5 by DavidBadura (2014-07-24 18:23:40+00:00)
Title: [WIP] add usecase subscriber

i'm not happy with the naming - do you have any ideas?
I will add unit tests later :wink:

Example:

```php

class UserUseCase extends UseCaseSubscriber
{

public register()
{
return [
'Command\UserEditCommand' => 'edit',
'Command\UserAddCommand' => 'add'
];
}

public function edit(UserEditCommand $command)
{
// ....
}

public function add(UserAddCommand $command)
{
// ....
}
}
```