Returns the hostmask representing the originating user.
public getHostmask ( ) : Phergie_Event_Request | null | ||
Résultat | Phergie_Event_Request | null | Hostmask or NULL if none was set |
/** * Tests that the hostmask associated with the event can be changed. * * @return void */ public function testSetHostmask() { $hostmask = $this->getMock('Phergie_Hostmask', array(), array('nick', 'username', 'host')); $this->event->setHostmask($hostmask); $this->assertSame($hostmask, $this->event->getHostmask()); }