<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Product\ProductModel;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait predecessorOfTrait {
|
/**
|
* @var ProductModel A pointer from a previous, often discontinued variant of the product to its newer variant.
|
*/
|
protected ProductModel $predecessorOf;
|
|
public function getPredecessorOf():?ProductModel
|
{
|
return $this->predecessorOf??null;
|
}
|
public function setPredecessorOf(ProductModel $predecessorOf):void
|
{
|
$this->predecessorOf = $predecessorOf;
|
}
|
}
|