<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Thing;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait objectTrait {
|
/**
|
* @var Thing The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). E.g. John read a book.
|
*/
|
protected Thing $object;
|
|
public function getObject():?Thing
|
{
|
return $this->object??null;
|
}
|
public function setObject(Thing $object):void
|
{
|
$this->object = $object;
|
}
|
}
|