| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | abstract class AbstractNodesEvent extends Event { |
||
| 35 | |||
| 36 | /** @var Node */ |
||
| 37 | private $source; |
||
| 38 | /** @var Node */ |
||
| 39 | private $target; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @since 20.0.0 |
||
| 43 | */ |
||
| 44 | public function __construct(Node $source, Node $target) { |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @since 20.0.0 |
||
| 51 | */ |
||
| 52 | public function getSource(): Node { |
||
| 53 | return $this->source; |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @since 20.0.0 |
||
| 58 | */ |
||
| 59 | public function getTarget(): Node { |
||
| 61 | } |
||
| 62 | } |
||
| 63 |