| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class NodeWalkerEvent |
||
| 20 | { |
||
| 21 | /** @psalm-readonly */ |
||
| 22 | private Node $node; |
||
| 23 | |||
| 24 | /** @psalm-readonly */ |
||
| 25 | private bool $isEntering; |
||
| 26 | |||
| 27 | public function __construct(Node $node, bool $isEntering = true) |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getNode(): Node |
||
| 36 | } |
||
| 37 | |||
| 38 | public function isEntering(): bool |
||
| 43 |