<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Organization\Organization;
|
use JVBase\managers\SEO\render\Thing\Person\Person;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait directorTrait {
|
/**
|
* @var Organization|Person A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip. Supersedes directors.
|
*/
|
protected Organization|Person $director;
|
|
public function getDirector():Organization|Person|null
|
{
|
return $this->director??null;
|
}
|
public function setDirector(Organization|Person $director):void
|
{
|
$this->director = $director;
|
}
|
}
|