12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?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', \get_called_class());
- }
- return $this->nodeName;
- }
- }
|