From 0f86554f0c549b4dbd54f75f6bd5c52a0968ab80 Mon Sep 17 00:00:00 2001 From: Zhang JiYong <3455421+wotent@users.noreply.github.com> Date: Wed, 27 Nov 2019 23:00:25 +0800 Subject: [PATCH] Update configuring-the-service-manager.md more suitable example --- docs/book/configuring-the-service-manager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/configuring-the-service-manager.md b/docs/book/configuring-the-service-manager.md index df924fef..c16b9c70 100644 --- a/docs/book/configuring-the-service-manager.md +++ b/docs/book/configuring-the-service-manager.md @@ -57,7 +57,7 @@ use stdClass; $serviceManager = new ServiceManager([ 'factories' => [ - MyObject::class => MyObjectFactory::class, + stdClass::class => InvokableFactory::class, ], ]); ```