| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class NodeWalkerEvent |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var Node |
||
| 23 | * |
||
| 24 | * @psalm-readonly |
||
| 25 | */ |
||
| 26 | private $node; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var bool |
||
| 30 | * |
||
| 31 | * @psalm-readonly |
||
| 32 | */ |
||
| 33 | private $isEntering; |
||
| 34 | |||
| 35 | 510 | public function __construct(Node $node, bool $isEntering = true) |
|
| 39 | 510 | } |
|
| 40 | |||
| 41 | 510 | public function getNode(): Node |
|
| 44 | } |
||
| 45 | |||
| 46 | 507 | public function isEntering(): bool |
|
| 51 |