You are here

public function AttributeNode::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Node/AttributeNode.php \Symfony\Component\CssSelector\Node\AttributeNode::__construct()

Parameters

NodeInterface $selector:

string $namespace:

string $attribute:

string $operator:

string $value:

File

vendor/symfony/css-selector/Node/AttributeNode.php, line 56

Class

AttributeNode
Represents a "<selector>[<namespace>|<attribute> <operator> <value>]" node.

Namespace

Symfony\Component\CssSelector\Node

Code

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