Jake Vanderwerf
9 days ago 47e77f9fac1155c536b2b87fec552c7fcce66fa6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?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;
    }
}