Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Node

AttributeNode::__constructpublicWC 1.0

Method of the class: AttributeNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

$AttributeNode = new AttributeNode();
$AttributeNode->__construct( $selector, ?string $namespace, $attribute, $operator, ?string $value );
$selector(NodeInterface) (required)
.
?string $namespace(required)
.
$attribute(string) (required)
.
$operator(string) (required)
.
?string $value(required)
.

AttributeNode::__construct() code WC 10.9.4

public function __construct(NodeInterface $selector, ?string $namespace, string $attribute, string $operator, ?string $value)
{
    $this->selector = $selector;
    $this->namespace = $namespace;
    $this->attribute = $attribute;
    $this->operator = $operator;
    $this->value = $value;
}