1 | <?php |
||
2 | |||
3 | namespace SilverStripe\TagField\Tests\Stub; |
||
4 | |||
5 | use SilverStripe\Dev\TestOnly; |
||
6 | use SilverStripe\ORM\DataObject; |
||
7 | use SilverStripe\TagField\Tests\Stub\TagFieldTestBlogTag; |
||
8 | |||
9 | class TagFieldTestBlogPost extends DataObject implements TestOnly |
||
10 | { |
||
11 | private static $table_name = 'TagFieldTestBlogPost'; |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
12 | |||
13 | private static $db = [ |
||
0 ignored issues
–
show
|
|||
14 | 'Title' => 'Text', |
||
15 | 'Content' => 'Text' |
||
16 | ]; |
||
17 | |||
18 | private static $many_many = [ |
||
0 ignored issues
–
show
|
|||
19 | 'Tags' => TagFieldTestBlogTag::class |
||
20 | ]; |
||
21 | } |
||
22 |