PHP Class KGzocha\Searcher\Criteria\CoordinatesCriteria

Author: Krzysztof Gzocha ([email protected])
Inheritance: implements KGzocha\Searcher\Criteria\CriteriaInterface
Datei anzeigen Open project: krzysztof-gzocha/searcher

Public Methods

Method Description
__construct ( float $latitude = null, float $longitude = null )
getLatitude ( ) : float
getLongitude ( ) : float
setLatitude ( float $latitude )
setLongitude ( float $longitude )
shouldBeApplied ( )

Method Details

__construct() public method

public __construct ( float $latitude = null, float $longitude = null )
$latitude float
$longitude float

getLatitude() public method

public getLatitude ( ) : float
return float

getLongitude() public method

public getLongitude ( ) : float
return float

setLatitude() public method

public setLatitude ( float $latitude )
$latitude float

setLongitude() public method

public setLongitude ( float $longitude )
$longitude float

shouldBeApplied() public method

public shouldBeApplied ( )