Example #1
0
 /**
  * @return string
  */
 public function domainName()
 {
     return DomainName::fromNative($this->domain_name);
 }
Example #2
0
 /**
  * @test
  * @group domainname
  */
 public function should_return_as_string()
 {
     $klimtoren = new DomainName('klimtoren.be');
     $this->assertEquals('klimtoren.be', $klimtoren->toString());
     $this->assertEquals('klimtoren.be', (string) $klimtoren);
 }