interface NodeInterface in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/css-selector/Node/NodeInterface.php \Symfony\Component\CssSelector\Node\NodeInterface
- 8 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Node/NodeInterface.php \Symfony\Component\CssSelector\Node\NodeInterface
Interface for nodes.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
Hierarchy
- interface \Symfony\Component\CssSelector\Node\NodeInterface
Expanded class hierarchy of NodeInterface
All classes that implement NodeInterface
See also
https://github.com/SimonSapin/cssselect.
2 files declare their use of NodeInterface
- AbstractNodeTest.php in vendor/
symfony/ css-selector/ Tests/ Node/ AbstractNodeTest.php - Translator.php in vendor/
symfony/ css-selector/ XPath/ Translator.php
File
- vendor/
symfony/ css-selector/ Node/ NodeInterface.php, line 22
Namespace
Symfony\Component\CssSelector\NodeView source
interface NodeInterface {
/**
* Returns node's name.
*
* @return string
*/
public function getNodeName();
/**
* Returns node's specificity.
*
* @return Specificity
*/
public function getSpecificity();
/**
* Returns node's string representation.
*
* @return string
*/
public function __toString();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NodeInterface:: |
public | function | Returns node's name. | 1 |
NodeInterface:: |
public | function | Returns node's specificity. | 9 |
NodeInterface:: |
public | function | Returns node's string representation. | 9 |