Tweak comment in ioc class.
This commit is contained in:
parent
eab5e24883
commit
2a27e5d3e4
|
@ -67,7 +67,7 @@ public static function registered($name)
|
||||||
* Register an object as a singleton.
|
* Register an object as a singleton.
|
||||||
*
|
*
|
||||||
* Singletons will only be instantiated the first time they are resolved.
|
* Singletons will only be instantiated the first time they are resolved.
|
||||||
* On subsequent requests for the object, the original instance will be returned.
|
* The same instance will be returned on subsequent requests.
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param Closure $resolver
|
* @param Closure $resolver
|
||||||
|
|
Loading…
Reference in New Issue