public function HashNode::__toString in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Node/HashNode.php \Symfony\Component\CssSelector\Node\HashNode::__toString()
Returns node's string representation.
Return value
string
Overrides NodeInterface::__toString
File
- vendor/
symfony/ css-selector/ Node/ HashNode.php, line 71
Class
- HashNode
- Represents a "<selector>#<id>" node.
Namespace
Symfony\Component\CssSelector\NodeCode
public function __toString() {
return sprintf('%s[%s#%s]', $this
->getNodeName(), $this->selector, $this->id);
}