PHP Class Location\Formatter\Coordinate\DecimalDegrees

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

Protected Properties

Свойство Type Description
$separator Separator string between latitude and longitude

Méthodes publiques

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

Method Details

__construct() public méthode

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

format() public méthode

public format ( Coordinate $coordinate ) : string
$coordinate Location\Coordinate
Résultat string

setSeparator() public méthode

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