__toString() public méthode

Returns a native string version of the Coordiantes object in format "$latitude,$longitude"
public __toString ( ) : string
Résultat string
 public function testToString()
 {
     $this->assertSame('40.829137,16.555838', $this->coordinate->__toString());
 }