Jake Vanderwerf
15 mins ago 3baf3d2545ba6ece6b74a64c0def59bd0774cf54
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\managers\SEO\render\Traits\_Properties;
 
use JVBase\managers\SEO\render\Thing\CreativeWork\CreativeWork;
 
if (!defined('ABSPATH')) {
    exit;
}
trait workTranslationTrait {
    /**
     * @var CreativeWork A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.
     * Inverse property: translationOfWork
     */
    protected CreativeWork $workTranslation;
 
    public function getWorkTranslation():?CreativeWork
    {
        return $this->workTranslation??null;
    }
    public function setWorkTranslation(CreativeWork $workTranslation):void
    {
        $this->workTranslation = $workTranslation;
    }
}