mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +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
|
||||
|
||||
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