setNick() 공개 메소드

Sets the nick of the user.
public setNick ( string $nick ) : Phergie_Hostmask
$nick string User nick
리턴 Phergie_Hostmask Provides a fluent interface
예제 #1
0
 /**
  * Tests setNick() function for correctly setting nick property.
  * 
  * @return void
  */
 public function testSetNick()
 {
     $this->hostmask->setNick('newnickname');
     $this->assertEquals('newnickname', $this->hostmask->getNick());
 }