You are here

public function PseudoNode::__construct in Zircon Profile 8

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

Parameters

NodeInterface $selector:

string $identifier:

File

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

Class

PseudoNode
Represents a "<selector>:<identifier>" node.

Namespace

Symfony\Component\CssSelector\Node

Code

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