<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait elevationTrait {
|
/**
|
* @var int|float|string The elevation of a location (WGS 84). Values may be of the form 'NUMBER UNIT_OF_MEASUREMENT' (e.g., '1,000 m', '3,200 ft') while numbers alone should be assumed to be a value in meters.
|
*/
|
protected int|float|string $elevation;
|
|
public function getElevation():int|float|string|null
|
{
|
return $this->elevation??null;
|
}
|
public function setElevation(int|float|string $elevation):void
|
{
|
$this->elevation = $elevation;
|
}
|
}
|