mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-01 05:39:10 +02:00
DOCS Fixed namespace for factory
This commit is contained in:
parent
2548bfba1e
commit
649dad526b
@ -156,7 +156,7 @@ An example using the `MyFactory` service to create instances of the `MyService`
|
|||||||
:::php
|
:::php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
class MyFactory implements SilverStripe\Framework\Injector\Factory {
|
class MyFactory implements SilverStripe\Core\Injector\Factory {
|
||||||
|
|
||||||
public function create($service, array $params = array()) {
|
public function create($service, array $params = array()) {
|
||||||
return new MyServiceImplementation();
|
return new MyServiceImplementation();
|
||||||
|
Loading…
Reference in New Issue
Block a user