1 | <?php |
||
6 | abstract class AddStrategyAbstract |
||
7 | implements AddStrategyInterface |
||
|
|||
8 | { |
||
9 | protected $targetNode; |
||
10 | |||
11 | /** |
||
12 | * @param NodeInfo $targetNode |
||
13 | */ |
||
14 | 12 | public function __construct(NodeInfo $targetNode) |
|
18 | |||
19 | /** |
||
20 | * @return NodeInfo |
||
21 | */ |
||
22 | 12 | protected function getTargetNode() |
|
26 | |||
27 | 6 | public function canAddNewNode($rootNodeId) |
|
31 | } |
||
32 |