SearchUpdaterTest_HasMany
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
c 1
b 0
f 0
dl 0
loc 12
wmc 0
1
<?php
2
3
namespace SilverStripe\FullTextSearch\Tests\SearchUpdaterTest;
4
5
use SilverStripe\ORM\DataObject;
6
use SilverStripe\FullTextSearch\Tests\SearchUpdaterTest\SearchUpdaterTest_Container;
7
8
class SearchUpdaterTest_HasMany extends DataObject
9
{
10
    private static $db = array(
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
11
        'Field1' => 'Varchar',
12
        'Field2' => 'Varchar'
13
    );
14
15
    private static $table_name = 'SearchUpdaterTest_HasMany';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
16
17
    private static $has_one = array(
0 ignored issues
show
introduced by
The private property $has_one is not used, and could be removed.
Loading history...
18
        'HasManyContainer' => SearchUpdaterTest_Container::class,
19
        'HasManyOtherContainer' => SearchUpdaterTest_OtherContainer::class,
20
    );
21
}
22