Skip to content

Commit d9e2559

Browse files
author
Martin Brecht-Precht
committed
Added countChildren to the common NodeInterface.
1 parent 776d03c commit d9e2559

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Common/NodeInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,9 @@ public function hasChildren();
3535
*/
3636
public function getChildren();
3737

38+
/**
39+
* @return int
40+
*/
41+
public function countChildren();
42+
3843
}

0 commit comments

Comments
 (0)