You are here

public function HashNode::__construct in Zircon Profile 8.0

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

Parameters

NodeInterface $selector:

string $id:

File

vendor/symfony/css-selector/Node/HashNode.php, line 38

Class

HashNode
Represents a "<selector>#<id>" node.

Namespace

Symfony\Component\CssSelector\Node

Code

public function __construct(NodeInterface $selector, $id) {
  $this->selector = $selector;
  $this->id = $id;
}