mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
DOC Update old pre-namespaces PHPDoc
The code in the original PHPDoc would have produced an error if used.
This commit is contained in:
parent
7d19ded76e
commit
95be6ed077
@ -17,7 +17,7 @@ trait Injectable
|
|||||||
* This can be called in one of two ways - either calling via the class directly,
|
* This can be called in one of two ways - either calling via the class directly,
|
||||||
* or calling on Object and passing the class name as the first parameter. The following
|
* or calling on Object and passing the class name as the first parameter. The following
|
||||||
* are equivalent:
|
* are equivalent:
|
||||||
* $list = DataList::create('SiteTree');
|
* $list = DataList::create(SiteTree::class);
|
||||||
* $list = SiteTree::get();
|
* $list = SiteTree::get();
|
||||||
*
|
*
|
||||||
* @param array $args
|
* @param array $args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user