We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db4d197 + 45f1bad commit 15aa68aCopy full SHA for 15aa68a
service_container/service_locators.rst
@@ -29,7 +29,7 @@ to handle their respective command when it is asked for::
29
30
public function handle(Command $command)
31
{
32
- $commandClass = get_class($command)
+ $commandClass = get_class($command);
33
34
if (!isset($this->handlerMap[$commandClass])) {
35
return;
@@ -59,7 +59,7 @@ handlers could be to inject the whole dependency injection container::
59
60
61
62
63
64
if ($this->container->has($commandClass)) {
65
$handler = $this->container->get($commandClass);
0 commit comments