class ClassNode extends AbstractNode
Represents a "<selector>.<name>" node.
This component is a port of the Python cssselector library,
which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
Methods
| string |
getNodeName()
Returns node's name. |
from AbstractNode |
| __construct(NodeInterface $selector, string $name) | ||
| NodeInterface | getSelector() | |
| string | getName() | |
| Specificity |
getSpecificity()
Returns node's specificity. |
|
| string |
__toString()
Returns node's string representation. |
Details
in AbstractNode at line 32
public string
getNodeName()
Returns node's name.
at line 38
public
__construct(NodeInterface $selector, string $name)
at line 47
public NodeInterface
getSelector()
at line 55
public string
getName()
at line 63
public Specificity
getSpecificity()
Returns node's specificity.
at line 71
public string
__toString()
Returns node's string representation.