<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Event\Event;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait superEventTrait {
|
/**
|
* @var Event An event that this event is a part of. For example, a collection of individual music performances might each have a music festival as their superEvent.
|
* Inverse property: subEvent
|
*/
|
protected Event $superEvent;
|
|
public function getSuperEvent():?Event
|
{
|
return $this->superEvent??null;
|
}
|
public function setSuperEvent(Event $superEvent):void
|
{
|
$this->superEvent = $superEvent;
|
}
|
}
|