for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Marek\OpenWeatherMap\API\Value\Response;
class Location
{
/**
* @var float
*/
protected $latitude;
protected $longitude;
* Location constructor.
*
* @param float $latitude
* @param float $longitude
public function __construct($latitude, $longitude)
$this->latitude = $latitude;
$this->longitude = $longitude;
}
* @return float
public function getLatitude()
return $this->latitude;
public function getLongitude()
return $this->longitude;