| @@ 495-501 (lines=7) @@ | ||
| 492 | * @param Organization|Person $contributor |
|
| 493 | * @return CreativeWork|CreativeWorkTrait |
|
| 494 | */ |
|
| 495 | public function setContributor($contributor) |
|
| 496 | { |
|
| 497 | ObjectHelper::instanceOf($contributor, [Organization::class, PersonInterface::class]); |
|
| 498 | ||
| 499 | $this->_contributor = $contributor; |
|
| 500 | return $this; |
|
| 501 | } |
|
| 502 | ||
| 503 | private $_copyrightHolder; |
|
| 504 | ||
| @@ 519-525 (lines=7) @@ | ||
| 516 | * @param Organization|Person $copyrightHolder |
|
| 517 | * @return CreativeWork|CreativeWorkTrait |
|
| 518 | */ |
|
| 519 | public function setCopyrightHolder($copyrightHolder) |
|
| 520 | { |
|
| 521 | ObjectHelper::instanceOf($copyrightHolder, [Organization::class, PersonInterface::class]); |
|
| 522 | ||
| 523 | $this->_copyrightHolder = $copyrightHolder; |
|
| 524 | return $this; |
|
| 525 | } |
|
| 526 | ||
| 527 | private $_copyrightYear; |
|
| 528 | ||
| @@ 565-571 (lines=7) @@ | ||
| 562 | * @param Organization|Person $creator |
|
| 563 | * @return CreativeWork|CreativeWorkTrait |
|
| 564 | */ |
|
| 565 | public function setCreator($creator) |
|
| 566 | { |
|
| 567 | ObjectHelper::instanceOf($creator, [Organization::class, PersonInterface::class]); |
|
| 568 | ||
| 569 | $this->_creator = $creator; |
|
| 570 | return $this; |
|
| 571 | } |
|
| 572 | ||
| 573 | private $_dateCreated; |
|
| 574 | ||
| @@ 816-822 (lines=7) @@ | ||
| 813 | * @param Organization|Person $funder |
|
| 814 | * @return CreativeWork|CreativeWorkTrait |
|
| 815 | */ |
|
| 816 | public function setFunder($funder) |
|
| 817 | { |
|
| 818 | ObjectHelper::instanceOf($funder, [Organization::class, PersonInterface::class]); |
|
| 819 | ||
| 820 | $this->_funder = $funder; |
|
| 821 | return $this; |
|
| 822 | } |
|
| 823 | ||
| 824 | private $_genre; |
|
| 825 | ||
| @@ 1133-1139 (lines=7) @@ | ||
| 1130 | * @param Organization|Person $producer |
|
| 1131 | * @return CreativeWork|CreativeWorkTrait |
|
| 1132 | */ |
|
| 1133 | public function setProducer($producer) |
|
| 1134 | { |
|
| 1135 | ObjectHelper::instanceOf($producer, [Organization::class, PersonInterface::class]); |
|
| 1136 | ||
| 1137 | $this->_producer = $producer; |
|
| 1138 | return $this; |
|
| 1139 | } |
|
| 1140 | ||
| 1141 | private $_provider; |
|
| 1142 | ||
| @@ 1159-1165 (lines=7) @@ | ||
| 1156 | * @param Organization|Person $provider |
|
| 1157 | * @return CreativeWork|CreativeWorkTrait |
|
| 1158 | */ |
|
| 1159 | public function setProvider($provider) |
|
| 1160 | { |
|
| 1161 | ObjectHelper::instanceOf($provider, [Organization::class, PersonInterface::class]); |
|
| 1162 | ||
| 1163 | $this->_provider = $provider; |
|
| 1164 | return $this; |
|
| 1165 | } |
|
| 1166 | ||
| 1167 | private $_publisher; |
|
| 1168 | ||
| @@ 1352-1358 (lines=7) @@ | ||
| 1349 | * @param Organization|Person $sponsor |
|
| 1350 | * @return CreativeWork|CreativeWorkTrait |
|
| 1351 | */ |
|
| 1352 | public function setSponsor($sponsor) |
|
| 1353 | { |
|
| 1354 | ObjectHelper::instanceOf($sponsor, [Organization::class, PersonInterface::class]); |
|
| 1355 | ||
| 1356 | $this->_sponsor = $sponsor; |
|
| 1357 | return $this; |
|
| 1358 | } |
|
| 1359 | ||
| 1360 | private $_temporalCoverage; |
|
| 1361 | ||
| @@ 1474-1480 (lines=7) @@ | ||
| 1471 | * @param Organization|Person $translator |
|
| 1472 | * @return CreativeWork|CreativeWorkTrait |
|
| 1473 | */ |
|
| 1474 | public function setTranslator($translator) |
|
| 1475 | { |
|
| 1476 | ObjectHelper::instanceOf($translator, [Organization::class, PersonInterface::class]); |
|
| 1477 | ||
| 1478 | $this->_translator = $translator; |
|
| 1479 | return $this; |
|
| 1480 | } |
|
| 1481 | ||
| 1482 | private $_typicalAgeRange; |
|
| 1483 | ||
| @@ 79-85 (lines=7) @@ | ||
| 76 | * @param Organization|Person $attendee |
|
| 77 | * @return EventTrait |
|
| 78 | */ |
|
| 79 | public function setAttendee($attendee) |
|
| 80 | { |
|
| 81 | ObjectHelper::instanceOf($attendee, [Organization::class, PersonInterface::class]); |
|
| 82 | ||
| 83 | $this->_attendee = $attendee; |
|
| 84 | return $this; |
|
| 85 | } |
|
| 86 | ||
| 87 | private $_composer; |
|
| 88 | ||
| @@ 103-109 (lines=7) @@ | ||
| 100 | * @param Organization|Person $composer |
|
| 101 | * @return EventTrait |
|
| 102 | */ |
|
| 103 | public function setComposer($composer) |
|
| 104 | { |
|
| 105 | ObjectHelper::instanceOf($author, [Organization::class, PersonInterface::class]); |
|
| 106 | ||
| 107 | $this->_composer = $composer; |
|
| 108 | return $this; |
|
| 109 | } |
|
| 110 | ||
| 111 | private $_contributor; |
|
| 112 | ||
| @@ 127-133 (lines=7) @@ | ||
| 124 | * @param Organization|Person $contributor |
|
| 125 | * @return EventTrait |
|
| 126 | */ |
|
| 127 | public function setContributor($contributor) |
|
| 128 | { |
|
| 129 | ObjectHelper::instanceOf($contributor, [Organization::class, PersonInterface::class]); |
|
| 130 | ||
| 131 | $this->_contributor = $contributor; |
|
| 132 | return $this; |
|
| 133 | } |
|
| 134 | ||
| 135 | private $_director; |
|
| 136 | ||
| @@ 241-247 (lines=7) @@ | ||
| 238 | * @param Organization|Person $funder |
|
| 239 | * @return EventTrait |
|
| 240 | */ |
|
| 241 | public function setFunder($funder) |
|
| 242 | { |
|
| 243 | ObjectHelper::instanceOf($funder, [Organization::class, PersonInterface::class]); |
|
| 244 | ||
| 245 | $this->_funder = $funder; |
|
| 246 | return $this; |
|
| 247 | } |
|
| 248 | ||
| 249 | private $_inLanguage; |
|
| 250 | ||
| @@ 354-360 (lines=7) @@ | ||
| 351 | * @param Organization|Person $organizer |
|
| 352 | * @return EventTrait |
|
| 353 | */ |
|
| 354 | public function setOrganizer($organizer) |
|
| 355 | { |
|
| 356 | ObjectHelper::instanceOf($organizer, [Organization::class, PersonInterface::class]); |
|
| 357 | ||
| 358 | $this->_organizer = $organizer; |
|
| 359 | return $this; |
|
| 360 | } |
|
| 361 | ||
| 362 | private $_performer; |
|
| 363 | ||
| @@ 379-385 (lines=7) @@ | ||
| 376 | * @param Organization|Person $performer |
|
| 377 | * @return EventTrait |
|
| 378 | */ |
|
| 379 | public function setPerformer($performer) |
|
| 380 | { |
|
| 381 | ObjectHelper::instanceOf($performer, [Organization::class, PersonInterface::class]); |
|
| 382 | ||
| 383 | $this->_performer = $performer; |
|
| 384 | return $this; |
|
| 385 | } |
|
| 386 | ||
| 387 | private $_previousStartDate; |
|
| 388 | ||
| @@ 475-481 (lines=7) @@ | ||
| 472 | * @param Organization|Person $sponsor |
|
| 473 | * @return EventTrait |
|
| 474 | */ |
|
| 475 | public function setSponsor($sponsor) |
|
| 476 | { |
|
| 477 | ObjectHelper::instanceOf($sponsor, [Organization::class, PersonInterface::class]); |
|
| 478 | ||
| 479 | $this->_sponsor = $sponsor; |
|
| 480 | return $this; |
|
| 481 | } |
|
| 482 | ||
| 483 | private $_startDate; |
|
| 484 | ||
| @@ 569-575 (lines=7) @@ | ||
| 566 | * @param Organization|Person $translator |
|
| 567 | * @return EventTrait |
|
| 568 | */ |
|
| 569 | public function setTranslator($translator) |
|
| 570 | { |
|
| 571 | ObjectHelper::instanceOf($translator, [Organization::class, PersonInterface::class]); |
|
| 572 | ||
| 573 | $this->_translator = $translator; |
|
| 574 | return $this; |
|
| 575 | } |
|
| 576 | ||
| 577 | private $_typicalAgeRange; |
|
| 578 | ||
| @@ 413-419 (lines=7) @@ | ||
| 410 | * @param Organization|Person $funder |
|
| 411 | * @return PersonTrait |
|
| 412 | */ |
|
| 413 | public function setFunder($funder) |
|
| 414 | { |
|
| 415 | ObjectHelper::instanceOf($funder, [Organization::class, PersonInterface::class]); |
|
| 416 | ||
| 417 | $this->_funder = $funder; |
|
| 418 | return $this; |
|
| 419 | } |
|
| 420 | ||
| 421 | private $_gender; |
|
| 422 | ||
| @@ 891-897 (lines=7) @@ | ||
| 888 | * @param Organization|Person $sponsor |
|
| 889 | * @return PersonTrait |
|
| 890 | */ |
|
| 891 | public function setSponsor($sponsor) |
|
| 892 | { |
|
| 893 | ObjectHelper::instanceOf($sponsor, [Organization::class, PersonInterface::class]); |
|
| 894 | ||
| 895 | $this->_sponsor = $sponsor; |
|
| 896 | return $this; |
|
| 897 | } |
|
| 898 | ||
| 899 | private $_spouse; |
|
| 900 | ||