mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8264 from DorsetDigital/patch-8
Add use statement to example
This commit is contained in:
commit
5ec5921099
@ -24,6 +24,8 @@ To access variables in the PHP:
|
||||
|
||||
|
||||
```php
|
||||
use Silverstripe\SiteConfig\SiteConfig;
|
||||
|
||||
$config = SiteConfig::current_site_config();
|
||||
|
||||
echo $config->Title;
|
||||
|
Loading…
Reference in New Issue
Block a user