<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Thing;
|
use JVBase\managers\SEO\render\Traits\_Helpers\arrayHelper;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait knowsAboutTrait {
|
use arrayHelper;
|
/**
|
* @var Thing|string|array Of a Person, and less typically of an Organization, to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or JobPosting descriptions.
|
*/
|
protected Thing|string|array $knowsAbout;
|
|
public function getKnowsAbout():Thing|string|array|null
|
{
|
return $this->knowsAbout??null;
|
}
|
public function setKnowsAbout(Thing|string|array $knowsAbout):void
|
{
|
if (is_array($knowsAbout)){
|
$knowsAbout = $this->mixedArray('knowsAbout', $knowsAbout, ['string', 'JVBase\managers\SEO\render\Thing\Thing']);
|
}
|
$this->knowsAbout = $knowsAbout;
|
}
|
}
|