TestChildPage
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 12
wmc 0
1
<?php
2
3
namespace DNADesign\Elemental\Tests\TopPage;
4
5
use Page;
6
use SilverStripe\Dev\TestOnly;
7
8
/**
9
 * Class TestChildPage
10
 *
11
 * @method TestContent TestContent()
12
 * @package DNADesign\Elemental\Tests\TopPage
13
 */
14
class TestChildPage extends Page implements TestOnly
15
{
16
    /**
17
     * @var string
18
     */
19
    private static $table_name = 'TestChildPage';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
20
21
    /**
22
     * @var array
23
     */
24
    private static $belongs_to = [
0 ignored issues
show
introduced by
The private property $belongs_to is not used, and could be removed.
Loading history...
25
        'TestContent' => TestContent::class . '.ChildPage',
26
    ];
27
}
28