Update 00_Configuration.md

This commit is contained in:
Sebastian Kalicki 2019-05-09 11:28:11 +02:00 committed by GitHub
parent f0ab53733c
commit e83edf7e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ $config = Config::inst()->get('MyClass', 'property');
Or through the `config()` method on the class.
```php
$config = $this->config()->get('property')';
$config = $this->config()->get('property');
```
You may need to apply the [Configurable](api:SilverStripe\Core\Config\Configurable) trait in order to access the `config()` method.