Total Complexity | 0 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
9 | class SluggestTestObject extends DataObject implements TestOnly |
||
10 | { |
||
11 | private static $table_name = 'Test_SluggableObject'; |
||
|
|||
12 | |||
13 | private static $db= [ |
||
14 | 'DisplayName' => 'Varchar', |
||
15 | ]; |
||
16 | |||
17 | private static $extensions = [ |
||
18 | Sluggable::class, |
||
19 | ]; |
||
20 | |||
21 | private static $slug = 'DisplayName'; |
||
22 | } |
||
23 |