| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | abstract class AbstractAssociationEventDto extends AbstractEventDto |
||
| 8 | { |
||
| 9 | private object $target; |
||
| 10 | |||
| 11 | private array $mapping; |
||
| 12 | |||
| 13 | public function __construct(object $source, object $target, array $mapping) |
||
| 14 | { |
||
| 15 | parent::__construct($source); |
||
| 16 | |||
| 17 | $this->target = $target; |
||
| 18 | $this->mapping = $mapping; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getTarget(): object |
||
| 22 | { |
||
| 23 | return $this->target; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getMapping(): array |
||
| 29 | } |
||
| 30 | } |
||
| 31 |