<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Thing;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait resultTrait {
|
/**
|
* @var Thing The result produced in the action. E.g. John wrote a book.
|
*/
|
protected Thing $result;
|
|
public function getResult():?Thing
|
{
|
return $this->result??null;
|
}
|
public function setResult(Thing $result):void
|
{
|
$this->result = $result;
|
}
|
}
|