MyAwesomeJSONModel
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 13
c 0
b 0
f 0
1
<?php
2
3
namespace PhpTek\JSONText\Dev\Fixture;
4
5
use PhpTek\JSONText\ORM\FieldType\JSONText;
6
use SilverStripe\ORM\DataObject;
7
use SilverStripe\Dev\TestOnly;
8
9
/**
10
 * @package silverstripe-jsontext
11
 */
12
class MyAwesomeJSONModel extends DataObject implements TestOnly
13
{
14
    private static $db = [
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
15
        'MyJSON' => JSONText::class
16
    ];
17
18
    /**
19
     * @var string
20
     * @config
21
     */
22
    private static $table_name = 'MyAwesomeJSONModel';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
23
24
}
25