__toString() public method

Returns country name as native string
public __toString ( ) : string
return string
示例#1
0
 public function testToString()
 {
     $italy = new Country(CountryCode::IT());
     $this->assertSame('Italy', $italy->__toString());
 }