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

Commit fc81dee

Browse files
committed
Merge branch 'hotfix/delegator-invokable-example'
Fixes #191
2 parents 8b2db27 + e9e6604 commit fc81dee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/book/delegators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ You can then instruct the service manager to handle the service `buzzer` as a
127127
delegate:
128128

129129
```php
130-
use Zend\ServiceManager\Factory\InvokableClass;
130+
use Zend\ServiceManager\Factory\InvokableFactory;
131131
use Zend\ServiceManager\ServiceManager;
132132

133133
$serviceManager = new Zend\ServiceManager\ServiceManager([
134134
'factories' => [
135-
Buzzer::class => InvokableClass::class,
135+
Buzzer::class => InvokableFactory::class,
136136
],
137137
'delegators' => [
138138
Buzzer::class => [

0 commit comments

Comments
 (0)