| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class TestElement extends BaseElement implements TestOnly |
||
| 10 | { |
||
| 11 | private static $table_name = 'TestElement'; |
||
|
|
|||
| 12 | |||
| 13 | private static $db = [ |
||
| 14 | 'TestValue' => 'Text', |
||
| 15 | ]; |
||
| 16 | |||
| 17 | private static $controller_class = TestElementController::class; |
||
| 18 | |||
| 19 | public function getType() |
||
| 20 | { |
||
| 21 | return 'A test element'; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function canView($member = null) |
||
| 31 | } |
||
| 32 | } |
||
| 33 |