Music
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 0
eloc 10
c 1
b 0
f 1
dl 0
loc 15
1
<?php
2
3
namespace Gurucomkz\EagerLoading\Tests\Models;
4
5
use Gurucomkz\EagerLoading\EagerLoaderMultiAccessor;
6
use SilverStripe\Dev\TestOnly;
7
use SilverStripe\ORM\DataObject;
8
9
class Music extends DataObject implements TestOnly
10
{
11
    use EagerLoaderMultiAccessor;
12
    private static $table_name = 'TestMusic';
13
    private static $db = [
14
        'Title' => 'Varchar'
15
    ];
16
17
    private static $belongs_many_many = [
18
        'Players' => Player::class,
19
    ];
20
21
    private static $export_fields = [
0 ignored issues
show
introduced by
The private property $export_fields is not used, and could be removed.
Loading history...
22
        'ID' => 'ID',
23
        'Title' => 'Title',
24
    ];
25
}
26