Merge pull request #6822 from micmania1/patch-12

DOCS Fixed namespace for factory
This commit is contained in:
Ingo Schommer 2017-04-21 15:15:46 +12:00 committed by GitHub
commit f216855850

View File

@ -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();