Pop\Dom\Child::getNodeName PHP Метод

getNodeName() публичный Метод

Method to return the child node name.
public getNodeName ( ) : string
Результат string
    public function getNodeName()
    {
        return $this->nodeName;
    }

Usage Example

Пример #1
0
 public function testSetAndGetNodeName()
 {
     $c = new Child('p', 'This is a paragraph');
     $c->setNodeName('span');
     $this->assertEquals('span', $c->getNodeName());
 }