Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit ff499d8

Browse files
author
Greg Bell
committed
Fix typo
1 parent fc81dee commit ff499d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/delegators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class BuzzerDelegatorFactory implements DelegatorFactoryInterface
114114
public function __invoke(ContainerInterface $container, $name, callable $callback, array $options = null)
115115
{
116116
$realBuzzer = call_user_func($callback);
117-
$eventManager = $serviceLocator->get('EventManager');
117+
$eventManager = $container->get('EventManager');
118118

119119
$eventManager->attach('buzz', function () { echo "Stare at the art!\n"; });
120120

0 commit comments

Comments
 (0)