PHP Class Location\Formatter\Coordinate\DecimalDegrees

Author: Marcus Jaschen ([email protected])
Inheritance: implements Location\Formatter\Coordinate\FormatterInterface
Mostrar archivo Open project: mjaschen/phpgeo Class Usage Examples

Protected Properties

Property Type Description
$separator Separator string between latitude and longitude

Public Methods

Method Description
__construct ( string $separator = " " )
format ( Coordinate $coordinate ) : string
setSeparator ( $separator ) Sets the separator between latitude and longitude values

Method Details

__construct() public method

public __construct ( string $separator = " " )
$separator string

format() public method

public format ( Coordinate $coordinate ) : string
$coordinate Location\Coordinate
return string

setSeparator() public method

Sets the separator between latitude and longitude values
public setSeparator ( $separator )
$separator

Property Details

$separator protected_oe property

Separator string between latitude and longitude
protected $separator