for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanedev\GeoLocation\Entities\Spheres;
use Arcanedev\GeoLocation\Contracts\Entities\Sphere;
/**
* Class AbstractSphere
*
* @package Arcanedev\GeoLocation\Entities\Spheres
* @author ARCANEDEV <[email protected]>
*/
abstract class AbstractSphere implements Sphere
{
/* -----------------------------------------------------------------
| Properties
| -----------------------------------------------------------------
* The radius of the sphere in meters
* @var float
protected $radius = 0.0;
| Getters & Setters
* Get the radius of the sphere in meters.
* @return float
public function radius()
return $this->radius;
}