| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 30% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class TableMapDTO extends EventDTO |
||
| 11 | { |
||
| 12 | private $type = ConstEventsNames::TABLE_MAP; |
||
| 13 | private $tableMap; |
||
| 14 | |||
| 15 | 54 | public function __construct( |
|
| 16 | EventInfo $eventInfo, |
||
| 17 | TableMap $tableMap |
||
| 18 | ) { |
||
| 19 | 54 | parent::__construct($eventInfo); |
|
| 20 | |||
| 21 | 54 | $this->tableMap = $tableMap; |
|
| 22 | 54 | } |
|
| 23 | |||
| 24 | public function __toString(): string |
||
| 35 | } |
||
| 36 | |||
| 37 | 51 | public function getType(): string |
|
| 38 | { |
||
| 39 | 51 | return $this->type; |
|
| 40 | } |
||
| 41 | |||
| 42 | public function jsonSerialize() |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getTableMap(): TableMap |
||
| 50 | } |
||
| 51 | } |