mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Adjust wording
This commit is contained in:
parent
4a0148a2bf
commit
5e134355f4
@ -60,7 +60,7 @@ Or through the `config()` object on the class.
|
||||
$config = $this->config()->get('property')';
|
||||
```
|
||||
|
||||
If your class does not inherit from a SilverStripe class, you must 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()` object.
|
||||
|
||||
**mysite/code/MyOtherClass.php**
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user