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
28
<?php
namespace JVBase\managers\SEO\render\Traits\_Properties;
 
use JVBase\managers\SEO\render\Thing\Place\Place;
use JVBase\managers\SEO\render\Traits\_Helpers\arrayHelper;
 
if (!defined('ABSPATH')) {
    exit;
}
trait locationCreatedTrait {
    use arrayHelper;
    /**
     * @var Place|array The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.
     */
    protected Place|array $locationCreated;
 
    public function getLocationCreated():Place|array|null
    {
        return $this->locationCreated??null;
    }
    public function setLocationCreated(Place|array $locationCreated):void
    {
        if (is_array($locationCreated)) {
            $locationCreated = $this->classArray('locationCreated', $locationCreated, 'JVBase\managers\SEO\render\Thing\Place\Place');
        }
        $this->locationCreated = $locationCreated;
    }
}