<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Thing;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait mainEntityTrait {
|
/**
|
* @var Thing Indicates the primary entity described in some page or other CreativeWork.
|
* Inverse property: mainEntityOfPage
|
*/
|
protected Thing $mainEntity;
|
|
public function getMainEntity():?Thing
|
{
|
return $this->mainEntity??null;
|
}
|
public function setMainEntity(Thing $mainEntity):void
|
{
|
$this->mainEntity = $mainEntity;
|
}
|
}
|