| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | abstract class EventDTO extends GenericEvent implements JsonSerializable |
||
| 14 | { |
||
| 15 | protected $eventInfo; |
||
| 16 | |||
| 17 | 58 | public function __construct( |
|
| 18 | EventInfo $eventInfo |
||
| 19 | ) { |
||
| 20 | 58 | $this->eventInfo = $eventInfo; |
|
| 21 | } |
||
| 22 | |||
| 23 | 1 | public function getEventInfo(): EventInfo |
|
| 26 | } |
||
| 27 | |||
| 28 | abstract public function getType(): string; |
||
| 29 | |||
| 30 | abstract public function __toString(): string; |
||
| 31 | } |
||
| 32 |