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
25
26
27
28
<?php
namespace JVBase\managers\SEO\render\Traits\_Properties;
use JVBase\managers\SEO\render\Thing\Organization\Organization;
use JVBase\managers\SEO\render\Thing\Person\Person;
use JVBase\managers\SEO\render\Traits\_Helpers\arrayHelper;
 
if (!defined('ABSPATH')) {
    exit;
}
trait founderTrait {
    use arrayHelper;
    /**
     * @var Organization|Person|array A person or organization who founded this organization. Supersedes founders.
     */
    protected Organization|Person|array $founder;
 
    public function getFounder():Organization|Person|array|null
    {
        return $this->founder??null;
    }
    public function setFounder(Organization|Person|array $founder):void
    {
        if (is_array($founder)) {
            $founder = $this->mixedArray('founder', $founder, ['JVBase\managers\SEO\render\Thing\Organization\Organization', 'JVBase\managers\SEO\render\Thing\Person\Person']);
        }
        $this->founder = $founder;
    }
}