public function DmsPoint::get in Geofield 8
Retrieves an object property.
Parameters
string $property: The property to get.
Return value
array|null The property if exists, otherwise NULL.
File
- src/
DmsPoint.php, line 46
Class
- DmsPoint
- Helper class to map DMS Point structure.
Namespace
Drupal\geofieldCode
public function get($property) {
return isset($this->{$property}) ? $this->{$property} : NULL;
}