Lines
0.00%
0 / 1
Functions and Methods
0.00%
0 / 1
Classes and Traits
0.00%
0 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Link | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | 0.00% | 0 / 1 | |||
| getId | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | /** | |
| 4 | * @package Zmsdldb | |
| 5 | * @copyright BerlinOnline Stadtportal GmbH & Co. KG | |
| 6 | **/ | |
| 7 | ||
| 8 | namespace BO\Zmsdldb\Entity; | |
| 9 | ||
| 10 | /** | |
| 11 | * Helper for topics export | |
| 12 | * | |
| 13 | */ | |
| 14 | class Link extends Base | |
| 15 | { | |
| 16 | /** | |
| 17 | * return an ID for this entity | |
| 18 | * | |
| 19 | */ | |
| 20 | #[\Override] | |
| 21 | public function getId(): mixed | |
| 22 | { | |
| 23 | return $this['link']; | |
| 24 | } | |
| 25 | } |