lib/Elastica/Node.php
public function getName()
    {
        if (empty($this->_name)) {
            $this->_name = $this->getInfo()->getName();
        }

        return $this->_name;
    }
public function getName()
    {
        if (empty($this->_name)) {
            $this->_name = $this->getInfo()->getName();
        }

        return $this->_name;
    }
public function getName ( ) { if ( empty ( $ this -> _name ) ) { $ this -> _name = $ this -> getInfo ( ) -> getName ( ) ; } return $ this -> _name ; }
Get the name of the node.

@return string Node name
Get the name of the node .