<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Action;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait interactionTypeTrait {
|
/**
|
* @var Action The Action representing the type of interaction. For up votes, +1s, etc. use LikeAction. For down votes use DislikeAction. Otherwise, use the most specific Action.
|
*/
|
protected Action $interactionType;
|
|
public function getInteractionType():?Action
|
{
|
return $this->interactionType??null;
|
}
|
public function setInteractionType(Action $interactionType):void
|
{
|
$this->interactionType = $interactionType;
|
}
|
}
|