Jake Vanderwerf
2026-04-15 c4aa5cdb5e90ad4b420e22772797d16980232a2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
namespace JVBase\inc\managers\SEO\render\Traits\_Properties;
 
use JVBase\inc\managers\SEO\render\Thing\CreativeWork\Comment\Answer;
use JVBase\managers\SEO\render\Thing\Intangible\ItemList\ItemList;
 
if (!defined('ABSPATH')) {
    exit;
}
trait acceptedAnswerTrait {
    /**
     * @var Answer|ItemList The answer(s) that has been accepted as best, typically on a Question/Answer site. Sites vary in their selection mechanisms, e.g. drawing on community opinion and/or the view of the Question author.
     */
    protected Answer|ItemList $acceptedAnswer;
 
    public function getAcceptedAnswer():Answer|ItemList|null
    {
        return $this->acceptedAnswer??null;
    }
    public function setAcceptedAnswer(Answer|ItemList $acceptedAnswer):void
    {
        $this->acceptedAnswer = $acceptedAnswer;
    }
}