Symfony\Component\CssSelector\Node\AttributeNode
Represents a "<selector>[<namespace>|<attribute> <operator> <value>]" node.
This component is a port of the Python cssselector library,
which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
- Author: Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
Synopsis
class AttributeNode
extends AbstractNode
{
- // members
- private NodeInterface $selector;
- private string $namespace;
- private string $attribute;
- private string $operator;
- private string $value;
- // methods
- public void __construct()
- public NodeInterface getSelector()
- public string getNamespace()
- public string getAttribute()
- public string getOperator()
- public string getValue()
- public void getSpecificity()
- public void __toString()
- // Inherited methods from AbstractNode
- public string getNodeName()
Hierarchy
Members
private
- $attribute — string
- $namespace — string
- $operator — string
- $selector — Symfony\Component\CssSelector\Node\NodeInterface
- $value — string
Methods
public
- __construct()
- __toString() — {@inheritdoc}
- getAttribute()
- getNamespace()
- getOperator()
- getSelector()
- getSpecificity() — {@inheritdoc}
- getValue()