<?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;
|
}
|
}
|