silverstripe-autotoc 

silverstripe-autotoc Commit Details

Date:2017-12-30 11:09:20 (3 years 9 months ago)
Author:Nicola Fontana
Branch:dev, master
Commit:f235de7a35e04a7bfdf4a0cb27a14ec5204d6cfa
Parents: eac462e522b9267708643229df754bc97aad850e
Message:Add annotations to TestObject

This will clear some bogus bugs from scrutinizer and will greatly
improve the behavior documentation for the casual reader.
Changes:
Mtests/TestObject.php (1 diff)

File differences

tests/TestObject.php
55
66
77
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
825
926
1027
use SilverStripe\ORM\DataObject;
use SilverStripe\Dev\TestOnly;
/**
* Provided directly by this class:
*
* @property string $Content
* @property string $Test2
*
* Inherited from Autotoc:
*
* @method string getAutotoc()
* @method void clearAutotoc()
* @method string getBodyAutotoc()
* @method string getContentField()
* @method string getOriginalContentField()
* @property string $Autotoc
* @property string $ContentField
* @property string $OriginalContentField
*/
class TestObject extends DataObject implements TestOnly
{
private static $db = [

Archive Download the corresponding diff file