AttributeNode
class AttributeNode extends AbstractNode
Represents a "
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
Methods
| string | getNodeName() | from AbstractNode |
| __construct(NodeInterface $selector, string|null $namespace, string $attribute, string $operator, string|null $value) | ||
| NodeInterface | getSelector() | |
| string|null | getNamespace() | |
| string | getAttribute() | |
| string | getOperator() | |
| string|null | getValue() | |
| Specificity | getSpecificity() | |
| string | __toString() |
Details
string getNodeName()
Return Value
| string |
__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 |
NodeInterface getSelector()
Return Value
| NodeInterface |
string|null getNamespace()
Return Value
| string|null |
string getAttribute()
Return Value
| string |
string getOperator()
Return Value
| string |
string|null getValue()
Return Value
| string|null |
Specificity getSpecificity()
Return Value
| Specificity |
string __toString()
Return Value
| string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/CssSelector/Node/AttributeNode.html