abstract class AbstractNode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Node/AbstractNode.php \Symfony\Component\CssSelector\Node\AbstractNode
Abstract base node class.
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
- class \Symfony\Component\CssSelector\Node\AbstractNode implements NodeInterface
Expanded class hierarchy of AbstractNode
See also
https://github.com/SimonSapin/cssselect.
File
- vendor/
symfony/ css-selector/ Node/ AbstractNode.php, line 22
Namespace
Symfony\Component\CssSelector\NodeView source
abstract class AbstractNode implements NodeInterface {
/**
* @var string
*/
private $nodeName;
/**
* @return string
*/
public function getNodeName() {
if (null === $this->nodeName) {
$this->nodeName = preg_replace('~.*\\\\([^\\\\]+)Node$~', '$1', get_called_class());
}
return $this->nodeName;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractNode:: |
private | property | ||
AbstractNode:: |
public | function |
Overrides NodeInterface:: |
|
NodeInterface:: |
public | function | Returns node's specificity. | 9 |
NodeInterface:: |
public | function | Returns node's string representation. | 9 |