mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-28 07:29:26 +02:00
Merge pull request #6822 from micmania1/patch-12
DOCS Fixed namespace for factory
This commit is contained in:
commit
f216855850
|
@ -156,7 +156,7 @@ An example using the `MyFactory` service to create instances of the `MyService`
|
|||
:::php
|
||||
<?php
|
||||
|
||||
class MyFactory implements SilverStripe\Framework\Injector\Factory {
|
||||
class MyFactory implements SilverStripe\Core\Injector\Factory {
|
||||
|
||||
public function create($service, array $params = array()) {
|
||||
return new MyServiceImplementation();
|
||||
|
|
Loading…
Reference in New Issue
Block a user