NodeName
class NodeName implements FilterInterface (View source)
Filter nodes by node name.
Properties
protected string | $nodeName | The node name to match on. |
Methods
void
setNodeName(string $nodeName)
Sets the node type name to match on.
Details
void
setNodeName(string $nodeName)
Sets the node type name to match on.
bool
matches(NodeData $node)
Returns true if the given node is of the node type this filter expects.