getHost() public method

Returns the hostname.
public getHost ( ) : string
return string
Esempio n. 1
0
 /**
  * Tests setHost() function for correctly setting host property.
  * 
  * @return void
  */
 public function testSetHost()
 {
     $this->hostmask->setHost('newhost');
     $this->assertEquals('newhost', $this->hostmask->getHost());
 }