Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AbstractNode.php

class AbstractNode

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Node/AbstractNode.php \SebastianBergmann\CodeCoverage\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>

@internal

Hierarchy

  • class \Symfony\Component\CssSelector\Node\AbstractNode implements \Symfony\Component\CssSelector\Node\NodeInterface

Expanded class hierarchy of AbstractNode

See also

https://github.com/SimonSapin/cssselect.

File

vendor/symfony/css-selector/Node/AbstractNode.php, line 24

Namespace

Symfony\Component\CssSelector\Node
View source
abstract class AbstractNode implements NodeInterface {
    private string $nodeName;
    public function getNodeName() : string {
        return $this->nodeName ??= preg_replace('~.*\\\\([^\\\\]+)Node$~', '$1', static::class);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
AbstractNode::$nodeName private property
AbstractNode::getNodeName public function Overrides NodeInterface::getNodeName
NodeInterface::getSpecificity public function 11
RSS feed
Powered by Drupal