public function setName($name) {
    /** @var TokenNode $identifier */
    $identifier = $this->name->firstChild();
    $identifier->setText($name);
    return $this;
  }
public function setName($name) {
    /** @var TokenNode $identifier */
    $identifier = $this->name->firstChild();
    $identifier->setText($name);
    return $this;
  }
public function setName ( $ name ) { /** @var TokenNode $identifier */ $ identifier = $ this -> name -> firstChild ( ) ; $ identifier -> setText ( $ name ) ; return $ this ; }
Set the identifier name of this node.

@param string $name
New name.
@return $this
Set the identifier name of this node .