__toString() public méthode

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