Total Complexity | 2 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class ObjectsUpdated extends DataObject |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * {@inheritDoc} |
||
24 | * @var string |
||
25 | */ |
||
26 | private static $table_name = 'ObjectsUpdated'; |
||
27 | |||
28 | /** |
||
29 | * @var array |
||
30 | */ |
||
31 | private static $db = [ |
||
32 | 'ClassNameLastEdited' => 'Varchar(255)', |
||
33 | ]; |
||
34 | |||
35 | private static $default_sort = [ |
||
36 | 'ID' => 'DESC', |
||
37 | ]; |
||
38 | |||
39 | /** |
||
40 | * @var array |
||
41 | */ |
||
42 | private static $summary_fields = [ |
||
43 | 'Created' => 'Updated', |
||
44 | 'ClassNameLastEdited' => 'ClassName', |
||
45 | 'ClassNameTitle' => 'Human readable name', |
||
46 | ]; |
||
47 | |||
48 | /** |
||
49 | * @var array |
||
50 | */ |
||
51 | private static $field_labels = [ |
||
52 | 'Created' => 'Updated', |
||
53 | 'ClassNameLastEdited' => 'Code name', |
||
54 | 'ClassNameTitle' => 'Human readable name', |
||
55 | ]; |
||
56 | /** |
||
57 | * @var array |
||
58 | */ |
||
59 | private static $casting = [ |
||
60 | 'ClassNameTitle' => 'Varchar', |
||
61 | ]; |
||
62 | |||
63 | public function getClassNameTitle() : string |
||
71 |