Add comment

This commit is contained in:
Brabli
2022-07-21 14:50:30 +01:00
parent 545e03af50
commit 69dc4fa49f

View File

@@ -41,6 +41,11 @@ trait MappableTrait
return $this;
}
/**
* Returns true if both latitude and longitude have been set
*
* @return bool
*/
public function isGeocoded(): bool
{
return null !== $this->getLatitude() && null !== $this->getLongitude();