mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-17 02:01:46 +02:00
Update 00_Configuration.md
This commit is contained in:
parent
f0ab53733c
commit
e83edf7e94
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user