AttributeNode
class AttributeNode extends AbstractNode
Represents a "
[
|
]" node.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
Methods
Details
string getNodeName()
Return Value
__construct(NodeInterface $selector, string|null $namespace, string $attribute, string $operator, string|null $value)
Parameters
NodeInterface |
$selector |
|
string|null |
$namespace |
|
string |
$attribute |
|
string |
$operator |
|
string|null |
$value |
|
Return Value
string|null getNamespace()
Return Value
string getAttribute()
Return Value
string getOperator()
Return Value
string|null getValue()
Return Value
Return Value
string __toString()
Return Value