silverstripe /
silverstripe-comments
| 1 | <?php |
||
| 2 | |||
| 3 | namespace SilverStripe\Comments\Tests\Stubs; |
||
| 4 | |||
| 5 | use SilverStripe\Dev\TestOnly; |
||
| 6 | use SilverStripe\ORM\DataObject; |
||
| 7 | |||
| 8 | class Cheerleader extends DataObject implements TestOnly |
||
| 9 | { |
||
| 10 | private static $table_name = 'CommentsTest_Cheerleader'; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 11 | |||
| 12 | private static $db = [ |
||
|
0 ignored issues
–
show
|
|||
| 13 | 'Name' => 'Varchar', |
||
| 14 | ]; |
||
| 15 | |||
| 16 | private static $has_one = [ |
||
|
0 ignored issues
–
show
|
|||
| 17 | 'Team' => Team::class, |
||
| 18 | ]; |
||
| 19 | } |
||
| 20 |