| Total Complexity | 1 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class TestContent extends BaseElement implements TestOnly |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private static $table_name = 'TestContent'; |
||
|
|
|||
| 21 | |||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | private static $db = [ |
||
| 26 | 'Content' => 'Varchar', |
||
| 27 | ]; |
||
| 28 | |||
| 29 | private static $has_one = [ |
||
| 30 | 'ChildPage' => TestChildPage::class, |
||
| 31 | ]; |
||
| 32 | |||
| 33 | private static $cascade_duplicates = [ |
||
| 34 | 'ChildPage', |
||
| 35 | ]; |
||
| 36 | |||
| 37 | private static $cascade_deletes = [ |
||
| 38 | 'ChildPage', |
||
| 39 | ]; |
||
| 40 | |||
| 41 | public function getType(): string |
||
| 46 |