Completed
Push — master ( 1655c0...7ea5ef )
by Basil
02:14
created

OrganizationTrait::getActionableFeedbackPolicy()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace luya\web\jsonld;
4
5
/**
6
 * JsonLd - Organization trait
7
 *
8
 * @author Alex Schmid
9
 * @since 1.0.0
10
 */
11
trait OrganizationTrait
12
{
13
    use ThingTrait {
14
        fields as thingFields;
15
    }
16
17
    /**
18
     * For a NewsMediaOrganization or other news-related Organization,
19
     * a statement about public engagement activities (for news media, the newsroom’s),
20
     * including involving the public - digitally or otherwise
21
     * -- in coverage decisions, reporting and activities after publication.
22
     *
23
     * @var CreativeWork|URL
24
     */
25
    private $_actionableFeedbackPolicy;
26
27
    /**
28
     * @return mixed
29
     */
30
    public function getActionableFeedbackPolicy()
31
    {
32
        return $this->_actionableFeedbackPolicy;
33
    }
34
35
    /**
36
     * @param mixed $actionableFeedbackPolicy
37
     * @return Organization
38
     */
39
    public function setActionableFeedbackPolicy($actionableFeedbackPolicy)
40
    {
41
        $this->_actionableFeedbackPolicy[] = $actionableFeedbackPolicy;
42
        return $this;
43
    }
44
45
    /**
46
     * Physical address of the item.
47
     *
48
     * @var PostalAddress|string
49
     */
50
    private $_address;
51
52
    /**
53
     * @return mixed
54
     */
55
    public function getAddress()
56
    {
57
        return $this->_address;
58
    }
59
60
    /**
61
     * @param mixed $address
62
     * @return Organization
63
     */
64
    public function setAddress($address)
65
    {
66
        $this->_address[] = $address;
67
        return $this;
68
    }
69
70
    /**
71
     * The overall rating, based on a collection of reviews or ratings, of the item.
72
     *
73
     * @var AggregateRating
74
     */
75
    private $_aggregateRating;
76
77
    /**
78
     * @return mixed
79
     */
80
    public function getAggregateRating()
81
    {
82
        return $this->_aggregateRating;
83
    }
84
85
    /**
86
     * @param mixed $aggregateRating
87
     * @return Organization
88
     */
89
    public function setAggregateRating($aggregateRating)
90
    {
91
        $this->_aggregateRating[] = $aggregateRating;
92
        return $this;
93
    }
94
95
    /**
96
     * Alumni of an organization.
97
     * Inverse property: alumniOf.
98
     *
99
     * @var Person
100
     */
101
    private $_alumni;
102
103
    /**
104
     * @return mixed
105
     */
106
    public function getAlumni()
107
    {
108
        return $this->_alumni;
109
    }
110
111
    /**
112
     * @param mixed $alumni
113
     * @return Organization
114
     */
115
    public function setAlumni($alumni)
116
    {
117
        $this->_alumni[] = $alumni;
118
        return $this;
119
    }
120
121
    /**
122
     * The geographic area where a service or offered item is provided. Supersedes serviceArea.
123
     *
124
     * @var AdministrativeArea|GeoShape|Place|string
125
     */
126
    private $_areaServed;
127
128
    /**
129
     * @return mixed
130
     */
131
    public function getAreaServed()
132
    {
133
        return $this->_areaServed;
134
    }
135
136
    /**
137
     * @param mixed $areaServed
138
     * @return Organization
139
     */
140
    public function setAreaServed($areaServed)
141
    {
142
        $this->_areaServed[] = $areaServed;
143
        return $this;
144
    }
145
146
    /**
147
     * An award won by or for this item. Supersedes awards.
148
     *
149
     * @var string
150
     */
151
    private $_award;
152
153
    /**
154
     * @return mixed
155
     */
156
    public function getAward()
157
    {
158
        return $this->_award;
159
    }
160
161
    /**
162
     * @param mixed $award
163
     * @return Organization
164
     */
165
    public function setAward($award)
166
    {
167
        $this->_award[] = $award;
168
        return $this;
169
    }
170
171
    /**
172
     * The brand(s) associated with a product or service,
173
     * or the brand(s) maintained by an organization or business person.
174
     *
175
     * @var Brand|Organization
176
     */
177
    private $_brand;
178
179
    /**
180
     * @return mixed
181
     */
182
    public function getBrand()
183
    {
184
        return $this->_brand;
185
    }
186
187
    /**
188
     * @param mixed $brand
189
     * @return Organization
190
     */
191
    public function setBrand($brand)
192
    {
193
        $this->_brand[] = $brand;
194
        return $this;
195
    }
196
197
    /**
198
     * A contact point for a person or organization. Supersedes contactPoints.
199
     *
200
     * @var ContactPoint
201
     */
202
    private $_contactPoint;
203
204
    /**
205
     * @return mixed
206
     */
207
    public function getContactPoint()
208
    {
209
        return $this->_contactPoint;
210
    }
211
212
    /**
213
     * @param mixed $contactPoint
214
     * @return Organization
215
     */
216
    public function setContactPoint($contactPoint)
217
    {
218
        $this->_contactPoint[] = $contactPoint;
219
        return $this;
220
    }
221
222
    /**
223
     * For an Organization (e.g. NewsMediaOrganization),
224
     * a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.
225
     *
226
     * @var CreativeWork|URL
227
     */
228
    private $_correctionsPolicy;
229
230
    /**
231
     * @return mixed
232
     */
233
    public function getCorrectionsPolicy()
234
    {
235
        return $this->_correctionsPolicy;
236
    }
237
238
    /**
239
     * @param mixed $correctionsPolicy
240
     * @return Organization
241
     */
242
    public function setCorrectionsPolicy($correctionsPolicy)
243
    {
244
        $this->_correctionsPolicy[] = $correctionsPolicy;
245
        return $this;
246
    }
247
248
    /**
249
     * A relationship between an organization and a department of that organization,
250
     * also described as an organization (allowing different urls, logos, opening hours).
251
     * For example: a store with a pharmacy, or a bakery with a cafe.
252
     *
253
     * @var Organization
254
     */
255
    private $_department;
256
257
    /**
258
     * @return mixed
259
     */
260
    public function getDepartment()
261
    {
262
        return $this->_department;
263
    }
264
265
    /**
266
     * @param mixed $department
267
     * @return Organization
268
     */
269
    public function setDepartment($department)
270
    {
271
        $this->_department[] = $department;
272
        return $this;
273
    }
274
275
    /**
276
     * The date that this organization was dissolved.
277
     *
278
     * @var Date
279
     */
280
    private $_dissolutionDate;
281
282
    /**
283
     * @return mixed
284
     */
285
    public function getDissolutionDate()
286
    {
287
        return $this->_dissolutionDate;
288
    }
289
290
    /**
291
     * @param mixed $dissolutionDate
292
     * @return Organization
293
     */
294
    public function setDissolutionDate($dissolutionDate)
295
    {
296
        $this->_dissolutionDate[] = $dissolutionDate;
297
        return $this;
298
    }
299
300
    /**
301
     * Statement on diversity policy by an Organization e.g. a NewsMediaOrganization.
302
     * For a NewsMediaOrganization, a statement describing the newsroom’s diversity policy on both staffing and sources,
303
     * typically providing staffing data.
304
     *
305
     * @var CreativeWork|URL
306
     */
307
    private $_diversityPolicy;
308
    /**
309
     * @return mixed
310
     */
311
    public function getDiversityPolicy()
312
    {
313
        return $this->_diversityPolicy;
314
    }
315
316
    /**
317
     * @param mixed $diversityPolicy
318
     * @return Organization
319
     */
320
    public function setDiversityPolicy($diversityPolicy)
321
    {
322
        $this->_diversityPolicy[] = $diversityPolicy;
323
        return $this;
324
    }
325
326
    /**
327
     * The Dun & Bradstreet DUNS number for identifying an organization or business person.
328
     *
329
     * @var string
330
     */
331
    private $_duns;
332
333
    /**
334
     * @return mixed
335
     */
336
    public function getDuns()
337
    {
338
        return $this->_duns;
339
    }
340
341
    /**
342
     * @param mixed $duns
343
     * @return Organization
344
     */
345
    public function setDuns($duns)
346
    {
347
        $this->_duns[] = $duns;
348
        return $this;
349
    }
350
351
    /**
352
     * Email address
353
     *
354
     * @var string
355
     */
356
    private $_email;
357
358
    /**
359
     * @return mixed
360
     */
361
    public function getEmail()
362
    {
363
        return $this->_email;
364
    }
365
366
    /**
367
     * @param mixed $email
368
     * @return Organization
369
     */
370
    public function setEmail($email)
371
    {
372
        $this->_email[] = $email;
373
        return $this;
374
    }
375
376
    /**
377
     * Someone working for this organization.
378
     * Supersedes employees.
379
     *
380
     * @var Person
381
     */
382
    private $_employee;
383
384
    /**
385
     * @return mixed
386
     */
387
    public function getEmployee()
388
    {
389
        return $this->_employee;
390
    }
391
392
    /**
393
     * @param mixed $employee
394
     * @return Organization
395
     */
396
    public function setEmployee($employee)
397
    {
398
        $this->_employee[] = $employee;
399
        return $this;
400
    }
401
402
    /**
403
     * Statement about ethics policy, e.g. of a NewsMediaOrganization regarding journalistic and publishing practices,
404
     * or of a Restaurant, a page describing food source policies. In the case of a NewsMediaOrganization,
405
     * an ethicsPolicy is typically a statement describing the personal, organizational,
406
     * and corporate standards of behavior expected by the organization.
407
     *
408
     * @var CreativeWork|URL
409
     */
410
    private $_ethicsPolicy;
411
412
    /**
413
     * @return mixed
414
     */
415
    public function getEthicsPolicy()
416
    {
417
        return $this->_ethicsPolicy;
418
    }
419
420
    /**
421
     * @param mixed $ethicsPolicy
422
     * @return Organization
423
     */
424
    public function setEthicsPolicy($ethicsPolicy)
425
    {
426
        $this->_ethicsPolicy[] = $ethicsPolicy;
427
        return $this;
428
    }
429
430
    /**
431
     * Upcoming or past event associated with this place, organization, or action. Supersedes events.
432
     *
433
     * @var Event
434
     */
435
    private $_event;
436
437
    /**
438
     * @return mixed
439
     */
440
    public function getEvent()
441
    {
442
        return $this->_event;
443
    }
444
445
    /**
446
     * @param mixed $event
447
     * @return Organization
448
     */
449
    public function setEvent($event)
450
    {
451
        $this->_event[] = $event;
452
        return $this;
453
    }
454
455
    /**
456
     * The fax number.
457
     *
458
     * @var string
459
     */
460
    private $_faxNumber;
461
462
    /**
463
     * @return mixed
464
     */
465
    public function getFaxNumber()
466
    {
467
        return $this->_faxNumber;
468
    }
469
470
    /**
471
     * @param mixed $faxNumber
472
     * @return Organization
473
     */
474
    public function setFaxNumber($faxNumber)
475
    {
476
        $this->_faxNumber[] = $faxNumber;
477
        return $this;
478
    }
479
480
    /**
481
     * A person who founded this organization. Supersedes founders.
482
     *
483
     * @var Person
484
     */
485
    private $_founder;
486
487
    /**
488
     * @return mixed
489
     */
490
    public function getFounder()
491
    {
492
        return $this->_founder;
493
    }
494
495
    /**
496
     * @param mixed $founder
497
     * @return Organization
498
     */
499
    public function setFounder($founder)
500
    {
501
        $this->_founder[] = $founder;
502
        return $this;
503
    }
504
505
    /**
506
     * The date that this organization was founded.
507
     *
508
     * @var Date
509
     */
510
    private $_foundingDate;
511
512
    /**
513
     * @return mixed
514
     */
515
    public function getFoundingDate()
516
    {
517
        return $this->_foundingDate;
518
    }
519
520
    /**
521
     * @param mixed $foundingDate
522
     * @return Organization
523
     */
524
    public function setFoundingDate($foundingDate)
525
    {
526
        $this->_foundingDate[] = $foundingDate;
527
        return $this;
528
    }
529
530
    /**
531
     * The place where the Organization was founded.
532
     *
533
     * @var Place
534
     */
535
    private $_foundingLocation;
536
537
    /**
538
     * @return mixed
539
     */
540
    public function getFoundingLocation()
541
    {
542
        return $this->_foundingLocation;
543
    }
544
545
    /**
546
     * @param mixed $foundingLocation
547
     * @return Organization
548
     */
549
    public function setFoundingLocation($foundingLocation)
550
    {
551
        $this->_foundingLocation[] = $foundingLocation;
552
        return $this;
553
    }
554
555
    /**
556
     * A person or organization that supports (sponsors) something through some kind of financial contribution.
557
     *
558
     * @var Organization|Person
559
     */
560
    private $_funder;
561
562
    /**
563
     * @return mixed
564
     */
565
    public function getFunder()
566
    {
567
        return $this->_funder;
568
    }
569
570
    /**
571
     * @param mixed $funder
572
     * @return Organization
573
     */
574
    public function setFunder($funder)
575
    {
576
        $this->_funder[] = $funder;
577
        return $this;
578
    }
579
580
    /**
581
     * The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN)
582
     * of the respective organization, person, or place.
583
     * The GLN is a 13-digit number used to identify parties and physical locations.
584
     *
585
     * @var string
586
     */
587
    private $_globalLocationNumber;
588
589
    /**
590
     * @return mixed
591
     */
592
    public function getGlobalLocationNumber()
593
    {
594
        return $this->_globalLocationNumber;
595
    }
596
597
    /**
598
     * @param mixed $globalLocationNumber
599
     * @return Organization
600
     */
601
    public function setGlobalLocationNumber($globalLocationNumber)
602
    {
603
        $this->_globalLocationNumber[] = $globalLocationNumber;
604
        return $this;
605
    }
606
607
    /**
608
     * Indicates an OfferCatalog listing for this Organization, Person, or Service.
609
     *
610
     * @var OfferCatalog
611
     */
612
    private $_hasOfferCatalog;
613
614
    /**
615
     * @return mixed
616
     */
617
    public function getHasOfferCatalog()
618
    {
619
        return $this->_hasOfferCatalog;
620
    }
621
622
    /**
623
     * @param mixed $hasOfferCatalog
624
     * @return Organization
625
     */
626
    public function setHasOfferCatalog($hasOfferCatalog)
627
    {
628
        $this->_hasOfferCatalog[] = $hasOfferCatalog;
629
        return $this;
630
    }
631
632
    /**
633
     * Points-of-Sales operated by the organization or person.
634
     *
635
     * @var Place
636
     */
637
    private $_hasPOS;
638
639
    /**
640
     * @return mixed
641
     */
642
    public function getHasPOS()
643
    {
644
        return $this->_hasPOS;
645
    }
646
647
    /**
648
     * @param mixed $hasPOS
649
     * @return Organization
650
     */
651
    public function setHasPOS($hasPOS)
652
    {
653
        $this->_hasPOS[] = $hasPOS;
654
        return $this;
655
    }
656
657
    /**
658
     * The International Standard of Industrial Classification of All Economic Activities (ISIC),
659
     * Revision 4 code for a particular organization, business person, or place.
660
     *
661
     * @var string
662
     */
663
    private $_isicV4;
664
665
    /**
666
     * @return mixed
667
     */
668
    public function getIsicV4()
669
    {
670
        return $this->_isicV4;
671
    }
672
673
    /**
674
     * @param mixed $isicV4
675
     * @return Organization
676
     */
677
    public function setIsicV4($isicV4)
678
    {
679
        $this->_isicV4[] = $isicV4;
680
        return $this;
681
    }
682
683
    /**
684
     * The official name of the organization, e.g. the registered company name.
685
     *
686
     * @var string
687
     */
688
    private $_legalName;
689
690
    /**
691
     * @return mixed
692
     */
693
    public function getLegalName()
694
    {
695
        return $this->_legalName;
696
    }
697
698
    /**
699
     * @param mixed $legalName
700
     * @return Organization
701
     */
702
    public function setLegalName($legalName)
703
    {
704
        $this->_legalName[] = $legalName;
705
        return $this;
706
    }
707
708
    /**
709
     * An organization identifier that uniquely identifies a legal entity as defined in ISO 17442.
710
     *
711
     * @var string
712
     */
713
    private $_leiCode;
714
715
    /**
716
     * @return mixed
717
     */
718
    public function getLeiCode()
719
    {
720
        return $this->_leiCode;
721
    }
722
723
    /**
724
     * @param mixed $leiCode
725
     * @return Organization
726
     */
727
    public function setLeiCode($leiCode)
728
    {
729
        $this->_leiCode[] = $leiCode;
730
        return $this;
731
    }
732
733
    /**
734
     * The location of for example where the event is happening, an organization is located,
735
     * or where an action takes place.
736
     *
737
     * @var Place|PostalAddress|string
738
     */
739
    private $_location;
740
741
    /**
742
     * @return mixed
743
     */
744
    public function getLocation()
745
    {
746
        return $this->_location;
747
    }
748
749
    /**
750
     * @param mixed $location
751
     * @return Organization
752
     */
753
    public function setLocation($location)
754
    {
755
        $this->_location[] = $location;
756
        return $this;
757
    }
758
759
    /**
760
     * An associated logo.
761
     *
762
     * @var ImageObject|URL
763
     */
764
    private $_logo;
765
766
    /**
767
     * @return mixed
768
     */
769
    public function getLogo()
770
    {
771
        return $this->_logo;
772
    }
773
774
    /**
775
     * @param mixed $logo
776
     * @return Organization
777
     */
778
    public function setLogo($logo)
779
    {
780
        $this->_logo[] = $logo;
781
        return $this;
782
    }
783
784
    /**
785
     * A pointer to products or services offered by the organization or person.
786
     * Inverse property: offeredBy.
787
     *
788
     * @var Offer
789
     */
790
    private $_makesOffer;
791
792
    /**
793
     * @return mixed
794
     */
795
    public function getMakesOffer()
796
    {
797
        return $this->_makesOffer;
798
    }
799
800
    /**
801
     * @param mixed $makesOffer
802
     * @return Organization
803
     */
804
    public function setMakesOffer($makesOffer)
805
    {
806
        $this->_makesOffer[] = $makesOffer;
807
        return $this;
808
    }
809
810
    /**
811
     * A member of an Organization or a ProgramMembership.
812
     * Organizations can be members of organizations; ProgramMembership is typically for individuals.
813
     * Supersedes members, musicGroupMember.
814
     * Inverse property: memberOf.
815
     *
816
     * @var Organization|Person
817
     */
818
    private $_member;
819
820
    /**
821
     * @return mixed
822
     */
823
    public function getMember()
824
    {
825
        return $this->_member;
826
    }
827
828
    /**
829
     * @param mixed $member
830
     * @return Organization
831
     */
832
    public function setMember($member)
833
    {
834
        $this->_member[] = $member;
835
        return $this;
836
    }
837
838
    /**
839
     * An Organization (or ProgramMembership) to which this Person or Organization belongs.
840
     * Inverse property: member.
841
     *
842
     * @var Organization|ProgramMembership
843
     */
844
    private $_memberOf;
845
846
    /**
847
     * @return mixed
848
     */
849
    public function getMemberOf()
850
    {
851
        return $this->_memberOf;
852
    }
853
854
    /**
855
     * @param mixed $memberOf
856
     * @return Organization
857
     */
858
    public function setMemberOf($memberOf)
859
    {
860
        $this->_memberOf[] = $memberOf;
861
        return $this;
862
    }
863
864
    /**
865
     * The North American Industry Classification System (NAICS) code for a particular organization or business person.
866
     *
867
     * @var string
868
     */
869
    private $_naics;
870
871
    /**
872
     * @return mixed
873
     */
874
    public function getNaics()
875
    {
876
        return $this->_naics;
877
    }
878
879
    /**
880
     * @param mixed $naics
881
     * @return Organization
882
     */
883
    public function setNaics($naics)
884
    {
885
        $this->_naics[] = $naics;
886
        return $this;
887
    }
888
889
    /**
890
     * The number of employees in an organization e.g. business.
891
     *
892
     * @var QuantitativeValue
893
     */
894
    private $_numberOfEmployees;
895
896
    /**
897
     * @return mixed
898
     */
899
    public function getNumberOfEmployees()
900
    {
901
        return $this->_numberOfEmployees;
902
    }
903
904
    /**
905
     * @param mixed $numberOfEmployees
906
     * @return Organization
907
     */
908
    public function setNumberOfEmployees($numberOfEmployees)
909
    {
910
        $this->_numberOfEmployees[] = $numberOfEmployees;
911
        return $this;
912
    }
913
914
    /**
915
     * Products owned by the organization or person.
916
     *
917
     * @var OwnershipInfo|Product
918
     */
919
    private $_owns;
920
921
    /**
922
     * @return mixed
923
     */
924
    public function getOwns()
925
    {
926
        return $this->_owns;
927
    }
928
929
    /**
930
     * @param mixed $owns
931
     * @return Organization
932
     */
933
    public function setOwns($owns)
934
    {
935
        $this->_owns[] = $owns;
936
        return $this;
937
    }
938
939
    /**
940
     * The larger organization that this organization is a subOrganization of, if any.
941
     * Supersedes branchOf.
942
     * Inverse property: subOrganization.
943
     *
944
     * @var Organization
945
     */
946
    private $_parentOrganization;
947
948
    /**
949
     * @return mixed
950
     */
951
    public function getParentOrganization()
952
    {
953
        return $this->_parentOrganization;
954
    }
955
956
    /**
957
     * @param mixed $parentOrganization
958
     * @return Organization
959
     */
960
    public function setParentOrganization($parentOrganization)
961
    {
962
        $this->_parentOrganization[] = $parentOrganization;
963
        return $this;
964
    }
965
966
    /**
967
     * The publishingPrinciples property indicates (typically via URL) a document describing the editorial principles
968
     * of an Organization (or individual e.g. a Person writing a blog) that relate to their activities as a publisher,
969
     * e.g. ethics or diversity policies. When applied to a CreativeWork (e.g. NewsArticle) the principles are those
970
     * of the party primarily responsible for the creation of the CreativeWork.
971
     *
972
     * @var CreativeWork|URL
973
     */
974
    private $_publishingPrinciples;
975
976
    /**
977
     * @return mixed
978
     */
979
    public function getPublishingPrinciples()
980
    {
981
        return $this->_publishingPrinciples;
982
    }
983
984
    /**
985
     * @param mixed $publishingPrinciples
986
     * @return Organization
987
     */
988
    public function setPublishingPrinciples($publishingPrinciples)
989
    {
990
        $this->_publishingPrinciples[] = $publishingPrinciples;
991
        return $this;
992
    }
993
994
    /**
995
     * A review of the item. Supersedes reviews.
996
     *
997
     * @var Review
998
     */
999
    private $_review;
1000
1001
    /**
1002
     * @return mixed
1003
     */
1004
    public function getReview()
1005
    {
1006
        return $this->_review;
1007
    }
1008
1009
    /**
1010
     * @param mixed $review
1011
     * @return Organization
1012
     */
1013
    public function setReview($review)
1014
    {
1015
        $this->_review[] = $review;
1016
        return $this;
1017
    }
1018
1019
    /**
1020
     * A pointer to products or services sought by the organization or person (demand).
1021
     *
1022
     * @var Demand
1023
     */
1024
    private $_seeks;
1025
1026
    /**
1027
     * @return mixed
1028
     */
1029
    public function getSeeks()
1030
    {
1031
        return $this->_seeks;
1032
    }
1033
1034
    /**
1035
     * @param mixed $seeks
1036
     * @return Organization
1037
     */
1038
    public function setSeeks($seeks)
1039
    {
1040
        $this->_seeks[] = $seeks;
1041
        return $this;
1042
    }
1043
1044
    /**
1045
     * A person or organization that supports a thing through a pledge, promise, or financial contribution. e.g.
1046
     *
1047
     * @var Organization|Person
1048
     */
1049
    private $_sponsor;
1050
1051
    /**
1052
     * @return mixed
1053
     */
1054
    public function getSponsor()
1055
    {
1056
        return $this->_sponsor;
1057
    }
1058
1059
    /**
1060
     * @param mixed $sponsor
1061
     * @return Organization
1062
     */
1063
    public function setSponsor($sponsor)
1064
    {
1065
        $this->_sponsor[] = $sponsor;
1066
        return $this;
1067
    }
1068
1069
    /**
1070
     * A relationship between two organizations where the first includes the second, e.g., as a subsidiary.
1071
     * See also: the more specific 'department' property.
1072
     * Inverse property: parentOrganization.
1073
     *
1074
     * @var Organization
1075
     */
1076
    private $_subOrganization;
1077
1078
    /**
1079
     * @return mixed
1080
     */
1081
    public function getSubOrganization()
1082
    {
1083
        return $this->_subOrganization;
1084
    }
1085
1086
    /**
1087
     * @param mixed $subOrganization
1088
     * @return Organization
1089
     */
1090
    public function setSubOrganization($subOrganization)
1091
    {
1092
        $this->_subOrganization[] = $subOrganization;
1093
        return $this;
1094
    }
1095
1096
    /**
1097
     * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain.
1098
     *
1099
     * @var string
1100
     */
1101
    private $_taxID;
1102
1103
    /**
1104
     * @return mixed
1105
     */
1106
    public function getTaxID()
1107
    {
1108
        return $this->_taxID;
1109
    }
1110
1111
    /**
1112
     * @param mixed $taxID
1113
     * @return Organization
1114
     */
1115
    public function setTaxID($taxID)
1116
    {
1117
        $this->_taxID[] = $taxID;
1118
        return $this;
1119
    }
1120
1121
    /**
1122
     * The telephone number.
1123
     *
1124
     * @var string
1125
     */
1126
    private $_telephone;
1127
1128
    /**
1129
     * @return mixed
1130
     */
1131
    public function getTelephone()
1132
    {
1133
        return $this->_telephone;
1134
    }
1135
1136
    /**
1137
     * @param mixed $telephone
1138
     * @return Organization
1139
     */
1140
    public function setTelephone($telephone)
1141
    {
1142
        $this->_telephone[] = $telephone;
1143
        return $this;
1144
    }
1145
1146
    /**
1147
     * For an Organization (typically a NewsMediaOrganization), a statement about policy on use of unnamed sources
1148
     * and the decision process required.
1149
     *
1150
     * @var CreativeWork|URL
1151
     */
1152
    private $_unnamedSourcesPolicy;
1153
1154
    /**
1155
     * @return mixed
1156
     */
1157
    public function getUnnamedSourcesPolicy()
1158
    {
1159
        return $this->_unnamedSourcesPolicy;
1160
    }
1161
1162
    /**
1163
     * @param mixed $unnamedSourcesPolicy
1164
     * @return Organization
1165
     */
1166
    public function setUnnamedSourcesPolicy($unnamedSourcesPolicy)
1167
    {
1168
        $this->_unnamedSourcesPolicy[] = $unnamedSourcesPolicy;
1169
        return $this;
1170
    }
1171
1172
    /**
1173
     * The Value-added Tax ID of the organization or person.
1174
     *
1175
     * @var string
1176
     */
1177
    private $_vatID;
1178
1179
    /**
1180
     * @return mixed
1181
     */
1182
    public function getVatID()
1183
    {
1184
        return $this->_vatID;
1185
    }
1186
1187
    /**
1188
     * @param mixed $vatID
1189
     * @return Organization
1190
     */
1191
    public function setVatID($vatID)
1192
    {
1193
        $this->_vatID[] = $vatID;
1194
        return $this;
1195
    }
1196
1197
    /**
1198
     * Return fields
1199
     */
1200
    public function fields() {
1201
        return array_merge(['actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department',
1202
            'dissolutionDate', 'diversityPolicy', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation',
1203
            'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf',
1204
            'naics', 'numberOfEmployees', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'sponsor', 'subOrganization', 'taxID', 'telephone',
1205
            'unnamedSourcesPolicy', 'vatID'], $this->thingFields());
0 ignored issues
show
Bug introduced by
The method thingFields() does not exist on luya\web\jsonld\OrganizationTrait. Did you maybe mean fields()?

This check marks calls to methods that do not seem to exist on an object.

This is most likely the result of a method being renamed without all references to it being renamed likewise.

Loading history...
1206
    }
1207
}