class RemoveNode extends AbstractTransformation (View source)

Remove a given node (hard).

Properties

protected NodeDataRepository $nodeDataRepository

Methods

bool
isTransformable(NodeData $node)

Returns true, indicating that the given node can be transformed by this transformation.

execute(NodeData $node)

Remove the given node

Details

bool isTransformable(NodeData $node)

Returns true, indicating that the given node can be transformed by this transformation.

Parameters

NodeData $node

Return Value

bool

NodeData execute(NodeData $node)

Remove the given node

Parameters

NodeData $node

Return Value

NodeData