PHP Class Treffynnon\Navigator\Coordinate\ParserAbstract

Show file Open project: treffynnon/navigator

Protected Properties

Property Type Description
$direction string The direction stored as either Treffynnon\Navigator::Long or Treffynnon\Navigator::Lat

Public Methods

Method Description
__construct ( $direction = null )
get ( $coord )
getDirection ( )
parse ( $coord )
set ( $coord )
setDirection ( $direction )

Method Details

__construct() public method

public __construct ( $direction = null )

get() abstract public method

abstract public get ( $coord )

getDirection() public method

public getDirection ( )

parse() abstract public method

abstract public parse ( $coord )

set() public method

public set ( $coord )

setDirection() public method

public setDirection ( $direction )

Property Details

$direction protected property

The direction stored as either Treffynnon\Navigator::Long or Treffynnon\Navigator::Lat
protected string $direction
return string