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