Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
27 | class Entity extends \OCP\AppFramework\Db\Entity { |
||
28 | public $userId; |
||
29 | public $created; |
||
30 | public $updated; |
||
31 | |||
32 | /** |
||
33 | * All entities have a non-empty human-readable name, although the exact name of the |
||
34 | * corresponding DB column varies and in some cases, the value may be technically |
||
35 | * empty but replaced with some localized place-holder text. |
||
36 | * |
||
37 | * The derived classes may override this as neeeded. |
||
38 | */ |
||
39 | public function getNameString(IL10N $l10n) : string { |
||
50 |