From 63fd20093e5cb80b710b1736eb86afb30c564e8a Mon Sep 17 00:00:00 2001 From: Indy Griffiths <32345766+indygriffiths@users.noreply.github.com> Date: Tue, 26 May 2020 22:30:01 +1200 Subject: [PATCH] DOCS fix incorrect Injector YAML examples --- docs/en/02_Developer_Guides/05_Extending/05_Injector.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/02_Developer_Guides/05_Extending/05_Injector.md b/docs/en/02_Developer_Guides/05_Extending/05_Injector.md index 94a2360c8..30645ed23 100644 --- a/docs/en/02_Developer_Guides/05_Extending/05_Injector.md +++ b/docs/en/02_Developer_Guides/05_Extending/05_Injector.md @@ -110,10 +110,10 @@ The [Configuration YAML](../configuration) does the hard work of configuring tho **app/_config/app.yml** ```yml -Injector: +SilverStripe\Core\Injector\Injector: PermissionService: class: MyCustomPermissionService - MyController + MyController: properties: textProperty: 'My Text Value' ``` @@ -249,7 +249,7 @@ SilverStripe\Core\Injector\Injector: class: RestrictivePermissionService properties: database: %$MySQLDatabase - MySQLDatabase + MySQLDatabase: constructor: 0: 'dbusername' 1: 'dbpassword'