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