From 45f1bad68b763a0a5d480c20ac67a9818d3486b3 Mon Sep 17 00:00:00 2001 From: Edward Kim Date: Fri, 2 Jun 2017 14:24:17 +1000 Subject: [PATCH] Fix typo --- service_container/service_locators.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service_container/service_locators.rst b/service_container/service_locators.rst index 25ee199efef..ac94f13552b 100644 --- a/service_container/service_locators.rst +++ b/service_container/service_locators.rst @@ -29,7 +29,7 @@ to handle their respective command when it is asked for:: public function handle(Command $command) { - $commandClass = get_class($command) + $commandClass = get_class($command); if (!isset($this->handlerMap[$commandClass])) { return; @@ -59,7 +59,7 @@ handlers could be to inject the whole dependency injection container:: public function handle(Command $command) { - $commandClass = get_class($command) + $commandClass = get_class($command); if ($this->container->has($commandClass)) { $handler = $this->container->get($commandClass);