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

Commit 02f0ada

Browse files
authored
Update AbstractFactoryInterface.php
1 parent a19d285 commit 02f0ada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AbstractFactoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* If upgrading from v2, take the following steps:
1818
*
19-
* - rename the method `canCreateServiceWithName()` to `has()`, and:
19+
* - rename the method `canCreateServiceWithName()` to `canCreate()`, and:
2020
* - rename the `$serviceLocator` argument to `$container`, and change the
2121
* typehint to `Interop\Container\ContainerInterface`
2222
* - merge the `$name` and `$requestedName` arguments
@@ -26,7 +26,7 @@
2626
* - merge the `$name` and `$requestedName` arguments
2727
* - add the optional `array $options = null` argument.
2828
* - create a `canCreateServiceWithName()` method as defined in this interface, and have it
29-
* proxy to `has()`, passing `$requestedName` as the second argument.
29+
* proxy to `canCreate()`, passing `$requestedName` as the second argument.
3030
* - create a `createServiceWithName()` method as defined in this interface, and have it
3131
* proxy to `__invoke()`, passing `$requestedName` as the second argument.
3232
*

0 commit comments

Comments
 (0)