format() public method

public format ( Location\Formatter\Coordinate\FormatterInterface $formatter ) : mixed
$formatter Location\Formatter\Coordinate\FormatterInterface
return mixed
Beispiel #1
0
 /**
  * @covers Location\Coordinate::format
  */
 public function testFormat()
 {
     $this->assertEquals("52.50000 13.50000", $this->coordinate->format(new DecimalDegrees()));
 }