From 83ae96d2e194c84ba1e24a9d480645135fb57c38 Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 26 Apr 2018 11:01:46 +1200 Subject: [PATCH] config *method* --- .../02_Developer_Guides/04_Configuration/00_Configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/02_Developer_Guides/04_Configuration/00_Configuration.md b/docs/en/02_Developer_Guides/04_Configuration/00_Configuration.md index 1c0ab6e1e..09f940bc0 100644 --- a/docs/en/02_Developer_Guides/04_Configuration/00_Configuration.md +++ b/docs/en/02_Developer_Guides/04_Configuration/00_Configuration.md @@ -54,13 +54,13 @@ This can be done by calling the static method [Config::inst()](api:SilverStripe\ $config = Config::inst()->get('MyClass', 'property'); ``` -Or through the `config()` object on the class. +Or through the `config()` method on the class. ```php $config = $this->config()->get('property')'; ``` -You may need to apply the [Configurable](api:SilverStripe\Core\Config\Configurable) trait in order to access the `config()` object. +You may need to apply the [Configurable](api:SilverStripe\Core\Config\Configurable) trait in order to access the `config()` method. **mysite/code/MyOtherClass.php**