Neos\Neos\Domain\Model\Domain::getHostname PHP Method

getHostname() public method

Returns the hostname
public getHostname ( ) : string
return string
    public function getHostname()
    {
        return $this->hostname;
    }

Usage Example

 /**
  * @test
  */
 public function setHostPatternAllowsForSettingTheHostPatternOfTheDomain()
 {
     $domain = new Domain();
     $domain->setHostname('typo3.com');
     $this->assertSame('typo3.com', $domain->getHostname());
 }