Skip to content

Commit 2564aa5

Browse files
committed
Create two new classes for node child accessors
1 parent 8b729a8 commit 2564aa5

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace PE\Nodes\Children;
4+
5+
class NodeChildAccessor {
6+
7+
private $method;
8+
9+
function __construct($method) {
10+
$this->method = $method;
11+
}
12+
13+
}
14+
15+
?>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace PE\Nodes\Children;
4+
5+
class NodeChildSetter extends NodeChildAccessor {
6+
7+
function __construct($method) {
8+
parent::__construct($method);
9+
}
10+
11+
}
12+
13+
?>

0 commit comments

Comments
 (0)