Skip to content

Commit 0ede1a7

Browse files
author
jonasdw
committed
Update README.md
1 parent e5f0ca1 commit 0ede1a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ use Pringles\DomainBundle\CommandBus\SimpleCommandBus;
4949

5050
function someController()
5151
{
52-
$bus = new SimpleCommandBus();
52+
$bus = new SimpleCommandBus(new ShortNameStrategy());
5353
$bus->registerHandler(new RegisterUserHandler($personRepository));
5454

5555
$cmd = new RegisterUser;

0 commit comments

Comments
 (0)