<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Intangible\ContactPoint\PostalAddress;
|
use JVBase\managers\SEO\render\Thing\Intangible\StructuredValue\ContactPoint;
|
use JVBase\managers\SEO\render\Thing\Intangible\VirtualHomeLocation;
|
use JVBase\managers\SEO\render\Thing\Place\Place;
|
use JVBase\managers\SEO\render\Traits\_Helpers\arrayHelper;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait homeLocationTrait {
|
/**
|
* @var ContactPoint|Place A contact location for a person's residence.
|
*/
|
protected ContactPoint|Place $homeLocation;
|
|
public function getHomeLocation():ContactPoint|Place|null
|
{
|
return $this->homeLocation??null;
|
}
|
public function setHomeLocation(ContactPoint|Place $homeLocation):void
|
{
|
$this->homeLocation = $homeLocation;
|
}
|
}
|