Merge pull request #4467 from camfindlay/patch-28

DOCS create() makes objects not classes.
This commit is contained in:
Sam Minnée 2015-08-03 13:36:31 +12:00
commit 4485b266e2

View File

@ -31,7 +31,7 @@ The benefit of constructing objects through this syntax is `ClassName` can be sw
MyClassName:
class: MyBetterClassName
Repeated calls to `create()` create a new class each time.
Repeated calls to `create()` create a new object each time.
:::php
$object = Injector::inst()->create('MyClassName');