Issues (439)

Security Analysis    no request data  

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

src/MusicGroup.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
use \Spatie\SchemaOrg\Contracts\MusicGroupContract;
6
use \Spatie\SchemaOrg\Contracts\OrganizationContract;
7
use \Spatie\SchemaOrg\Contracts\PerformingGroupContract;
8
use \Spatie\SchemaOrg\Contracts\ThingContract;
9
10
/**
11
 * A musical group, such as a band, an orchestra, or a choir. Can also be a solo
12
 * musician.
13
 *
14
 * @see http://schema.org/MusicGroup
15
 *
16
 */
17 View Code Duplication
class MusicGroup extends BaseType implements MusicGroupContract, OrganizationContract, PerformingGroupContract, ThingContract
0 ignored issues
show
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
18
{
19
    /**
20
     * An additional type for the item, typically used for adding more specific
21
     * types from external vocabularies in microdata syntax. This is a
22
     * relationship between something and a class that the thing is in. In RDFa
23
     * syntax, it is better to use the native RDFa syntax - the 'typeof'
24
     * attribute - for multiple types. Schema.org tools may have only weaker
25
     * understanding of extra types, in particular those defined externally.
26
     *
27
     * @param string|string[] $additionalType
28
     *
29
     * @return static
30
     *
31
     * @see http://schema.org/additionalType
32
     */
33
    public function additionalType($additionalType)
34
    {
35
        return $this->setProperty('additionalType', $additionalType);
36
    }
37
38
    /**
39
     * Physical address of the item.
40
     *
41
     * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address
42
     *
43
     * @return static
44
     *
45
     * @see http://schema.org/address
46
     */
47
    public function address($address)
48
    {
49
        return $this->setProperty('address', $address);
50
    }
51
52
    /**
53
     * The overall rating, based on a collection of reviews or ratings, of the
54
     * item.
55
     *
56
     * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating
57
     *
58
     * @return static
59
     *
60
     * @see http://schema.org/aggregateRating
61
     */
62
    public function aggregateRating($aggregateRating)
63
    {
64
        return $this->setProperty('aggregateRating', $aggregateRating);
65
    }
66
67
    /**
68
     * A music album.
69
     *
70
     * @param \Spatie\SchemaOrg\Contracts\MusicAlbumContract|\Spatie\SchemaOrg\Contracts\MusicAlbumContract[] $album
71
     *
72
     * @return static
73
     *
74
     * @see http://schema.org/album
75
     */
76
    public function album($album)
77
    {
78
        return $this->setProperty('album', $album);
79
    }
80
81
    /**
82
     * A collection of music albums.
83
     *
84
     * @param \Spatie\SchemaOrg\Contracts\MusicAlbumContract|\Spatie\SchemaOrg\Contracts\MusicAlbumContract[] $albums
85
     *
86
     * @return static
87
     *
88
     * @see http://schema.org/albums
89
     */
90
    public function albums($albums)
91
    {
92
        return $this->setProperty('albums', $albums);
93
    }
94
95
    /**
96
     * An alias for the item.
97
     *
98
     * @param string|string[] $alternateName
99
     *
100
     * @return static
101
     *
102
     * @see http://schema.org/alternateName
103
     */
104
    public function alternateName($alternateName)
105
    {
106
        return $this->setProperty('alternateName', $alternateName);
107
    }
108
109
    /**
110
     * The geographic area where a service or offered item is provided.
111
     *
112
     * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed
113
     *
114
     * @return static
115
     *
116
     * @see http://schema.org/areaServed
117
     */
118
    public function areaServed($areaServed)
119
    {
120
        return $this->setProperty('areaServed', $areaServed);
121
    }
122
123
    /**
124
     * An award won by or for this item.
125
     *
126
     * @param string|string[] $award
127
     *
128
     * @return static
129
     *
130
     * @see http://schema.org/award
131
     */
132
    public function award($award)
133
    {
134
        return $this->setProperty('award', $award);
135
    }
136
137
    /**
138
     * Awards won by or for this item.
139
     *
140
     * @param string|string[] $awards
141
     *
142
     * @return static
143
     *
144
     * @see http://schema.org/awards
145
     */
146
    public function awards($awards)
147
    {
148
        return $this->setProperty('awards', $awards);
149
    }
150
151
    /**
152
     * The brand(s) associated with a product or service, or the brand(s)
153
     * maintained by an organization or business person.
154
     *
155
     * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand
156
     *
157
     * @return static
158
     *
159
     * @see http://schema.org/brand
160
     */
161
    public function brand($brand)
162
    {
163
        return $this->setProperty('brand', $brand);
164
    }
165
166
    /**
167
     * A contact point for a person or organization.
168
     *
169
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint
170
     *
171
     * @return static
172
     *
173
     * @see http://schema.org/contactPoint
174
     */
175
    public function contactPoint($contactPoint)
176
    {
177
        return $this->setProperty('contactPoint', $contactPoint);
178
    }
179
180
    /**
181
     * A contact point for a person or organization.
182
     *
183
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints
184
     *
185
     * @return static
186
     *
187
     * @see http://schema.org/contactPoints
188
     */
189
    public function contactPoints($contactPoints)
190
    {
191
        return $this->setProperty('contactPoints', $contactPoints);
192
    }
193
194
    /**
195
     * A relationship between an organization and a department of that
196
     * organization, also described as an organization (allowing different urls,
197
     * logos, opening hours). For example: a store with a pharmacy, or a bakery
198
     * with a cafe.
199
     *
200
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department
201
     *
202
     * @return static
203
     *
204
     * @see http://schema.org/department
205
     */
206
    public function department($department)
207
    {
208
        return $this->setProperty('department', $department);
209
    }
210
211
    /**
212
     * A description of the item.
213
     *
214
     * @param string|string[] $description
215
     *
216
     * @return static
217
     *
218
     * @see http://schema.org/description
219
     */
220
    public function description($description)
221
    {
222
        return $this->setProperty('description', $description);
223
    }
224
225
    /**
226
     * A sub property of description. A short description of the item used to
227
     * disambiguate from other, similar items. Information from other properties
228
     * (in particular, name) may be necessary for the description to be useful
229
     * for disambiguation.
230
     *
231
     * @param string|string[] $disambiguatingDescription
232
     *
233
     * @return static
234
     *
235
     * @see http://schema.org/disambiguatingDescription
236
     */
237
    public function disambiguatingDescription($disambiguatingDescription)
238
    {
239
        return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
240
    }
241
242
    /**
243
     * The date that this organization was dissolved.
244
     *
245
     * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate
246
     *
247
     * @return static
248
     *
249
     * @see http://schema.org/dissolutionDate
250
     */
251
    public function dissolutionDate($dissolutionDate)
252
    {
253
        return $this->setProperty('dissolutionDate', $dissolutionDate);
254
    }
255
256
    /**
257
     * The Dun & Bradstreet DUNS number for identifying an organization or
258
     * business person.
259
     *
260
     * @param string|string[] $duns
261
     *
262
     * @return static
263
     *
264
     * @see http://schema.org/duns
265
     */
266
    public function duns($duns)
267
    {
268
        return $this->setProperty('duns', $duns);
269
    }
270
271
    /**
272
     * Email address.
273
     *
274
     * @param string|string[] $email
275
     *
276
     * @return static
277
     *
278
     * @see http://schema.org/email
279
     */
280
    public function email($email)
281
    {
282
        return $this->setProperty('email', $email);
283
    }
284
285
    /**
286
     * Someone working for this organization.
287
     *
288
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee
289
     *
290
     * @return static
291
     *
292
     * @see http://schema.org/employee
293
     */
294
    public function employee($employee)
295
    {
296
        return $this->setProperty('employee', $employee);
297
    }
298
299
    /**
300
     * People working for this organization.
301
     *
302
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees
303
     *
304
     * @return static
305
     *
306
     * @see http://schema.org/employees
307
     */
308
    public function employees($employees)
309
    {
310
        return $this->setProperty('employees', $employees);
311
    }
312
313
    /**
314
     * Upcoming or past event associated with this place, organization, or
315
     * action.
316
     *
317
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event
318
     *
319
     * @return static
320
     *
321
     * @see http://schema.org/event
322
     */
323
    public function event($event)
324
    {
325
        return $this->setProperty('event', $event);
326
    }
327
328
    /**
329
     * Upcoming or past events associated with this place or organization.
330
     *
331
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events
332
     *
333
     * @return static
334
     *
335
     * @see http://schema.org/events
336
     */
337
    public function events($events)
338
    {
339
        return $this->setProperty('events', $events);
340
    }
341
342
    /**
343
     * The fax number.
344
     *
345
     * @param string|string[] $faxNumber
346
     *
347
     * @return static
348
     *
349
     * @see http://schema.org/faxNumber
350
     */
351
    public function faxNumber($faxNumber)
352
    {
353
        return $this->setProperty('faxNumber', $faxNumber);
354
    }
355
356
    /**
357
     * A person who founded this organization.
358
     *
359
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder
360
     *
361
     * @return static
362
     *
363
     * @see http://schema.org/founder
364
     */
365
    public function founder($founder)
366
    {
367
        return $this->setProperty('founder', $founder);
368
    }
369
370
    /**
371
     * A person who founded this organization.
372
     *
373
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders
374
     *
375
     * @return static
376
     *
377
     * @see http://schema.org/founders
378
     */
379
    public function founders($founders)
380
    {
381
        return $this->setProperty('founders', $founders);
382
    }
383
384
    /**
385
     * The date that this organization was founded.
386
     *
387
     * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate
388
     *
389
     * @return static
390
     *
391
     * @see http://schema.org/foundingDate
392
     */
393
    public function foundingDate($foundingDate)
394
    {
395
        return $this->setProperty('foundingDate', $foundingDate);
396
    }
397
398
    /**
399
     * The place where the Organization was founded.
400
     *
401
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation
402
     *
403
     * @return static
404
     *
405
     * @see http://schema.org/foundingLocation
406
     */
407
    public function foundingLocation($foundingLocation)
408
    {
409
        return $this->setProperty('foundingLocation', $foundingLocation);
410
    }
411
412
    /**
413
     * A person or organization that supports (sponsors) something through some
414
     * kind of financial contribution.
415
     *
416
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder
417
     *
418
     * @return static
419
     *
420
     * @see http://schema.org/funder
421
     */
422
    public function funder($funder)
423
    {
424
        return $this->setProperty('funder', $funder);
425
    }
426
427
    /**
428
     * Genre of the creative work, broadcast channel or group.
429
     *
430
     * @param string|string[] $genre
431
     *
432
     * @return static
433
     *
434
     * @see http://schema.org/genre
435
     */
436
    public function genre($genre)
437
    {
438
        return $this->setProperty('genre', $genre);
439
    }
440
441
    /**
442
     * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also
443
     * referred to as International Location Number or ILN) of the respective
444
     * organization, person, or place. The GLN is a 13-digit number used to
445
     * identify parties and physical locations.
446
     *
447
     * @param string|string[] $globalLocationNumber
448
     *
449
     * @return static
450
     *
451
     * @see http://schema.org/globalLocationNumber
452
     */
453
    public function globalLocationNumber($globalLocationNumber)
454
    {
455
        return $this->setProperty('globalLocationNumber', $globalLocationNumber);
456
    }
457
458
    /**
459
     * Indicates an OfferCatalog listing for this Organization, Person, or
460
     * Service.
461
     *
462
     * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog
463
     *
464
     * @return static
465
     *
466
     * @see http://schema.org/hasOfferCatalog
467
     */
468
    public function hasOfferCatalog($hasOfferCatalog)
469
    {
470
        return $this->setProperty('hasOfferCatalog', $hasOfferCatalog);
471
    }
472
473
    /**
474
     * Points-of-Sales operated by the organization or person.
475
     *
476
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS
477
     *
478
     * @return static
479
     *
480
     * @see http://schema.org/hasPOS
481
     */
482
    public function hasPOS($hasPOS)
483
    {
484
        return $this->setProperty('hasPOS', $hasPOS);
485
    }
486
487
    /**
488
     * The identifier property represents any kind of identifier for any kind of
489
     * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
490
     * dedicated properties for representing many of these, either as textual
491
     * strings or as URL (URI) links. See [background
492
     * notes](/docs/datamodel.html#identifierBg) for more details.
493
     *
494
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
495
     *
496
     * @return static
497
     *
498
     * @see http://schema.org/identifier
499
     */
500
    public function identifier($identifier)
501
    {
502
        return $this->setProperty('identifier', $identifier);
503
    }
504
505
    /**
506
     * An image of the item. This can be a [[URL]] or a fully described
507
     * [[ImageObject]].
508
     *
509
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
510
     *
511
     * @return static
512
     *
513
     * @see http://schema.org/image
514
     */
515
    public function image($image)
516
    {
517
        return $this->setProperty('image', $image);
518
    }
519
520
    /**
521
     * The International Standard of Industrial Classification of All Economic
522
     * Activities (ISIC), Revision 4 code for a particular organization,
523
     * business person, or place.
524
     *
525
     * @param string|string[] $isicV4
526
     *
527
     * @return static
528
     *
529
     * @see http://schema.org/isicV4
530
     */
531
    public function isicV4($isicV4)
532
    {
533
        return $this->setProperty('isicV4', $isicV4);
534
    }
535
536
    /**
537
     * The official name of the organization, e.g. the registered company name.
538
     *
539
     * @param string|string[] $legalName
540
     *
541
     * @return static
542
     *
543
     * @see http://schema.org/legalName
544
     */
545
    public function legalName($legalName)
546
    {
547
        return $this->setProperty('legalName', $legalName);
548
    }
549
550
    /**
551
     * An organization identifier that uniquely identifies a legal entity as
552
     * defined in ISO 17442.
553
     *
554
     * @param string|string[] $leiCode
555
     *
556
     * @return static
557
     *
558
     * @see http://schema.org/leiCode
559
     */
560
    public function leiCode($leiCode)
561
    {
562
        return $this->setProperty('leiCode', $leiCode);
563
    }
564
565
    /**
566
     * The location of for example where the event is happening, an organization
567
     * is located, or where an action takes place.
568
     *
569
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location
570
     *
571
     * @return static
572
     *
573
     * @see http://schema.org/location
574
     */
575
    public function location($location)
576
    {
577
        return $this->setProperty('location', $location);
578
    }
579
580
    /**
581
     * An associated logo.
582
     *
583
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo
584
     *
585
     * @return static
586
     *
587
     * @see http://schema.org/logo
588
     */
589
    public function logo($logo)
590
    {
591
        return $this->setProperty('logo', $logo);
592
    }
593
594
    /**
595
     * Indicates a page (or other CreativeWork) for which this thing is the main
596
     * entity being described. See [background
597
     * notes](/docs/datamodel.html#mainEntityBackground) for details.
598
     *
599
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
600
     *
601
     * @return static
602
     *
603
     * @see http://schema.org/mainEntityOfPage
604
     */
605
    public function mainEntityOfPage($mainEntityOfPage)
606
    {
607
        return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
608
    }
609
610
    /**
611
     * A pointer to products or services offered by the organization or person.
612
     *
613
     * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer
614
     *
615
     * @return static
616
     *
617
     * @see http://schema.org/makesOffer
618
     */
619
    public function makesOffer($makesOffer)
620
    {
621
        return $this->setProperty('makesOffer', $makesOffer);
622
    }
623
624
    /**
625
     * A member of an Organization or a ProgramMembership. Organizations can be
626
     * members of organizations; ProgramMembership is typically for individuals.
627
     *
628
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member
629
     *
630
     * @return static
631
     *
632
     * @see http://schema.org/member
633
     */
634
    public function member($member)
635
    {
636
        return $this->setProperty('member', $member);
637
    }
638
639
    /**
640
     * An Organization (or ProgramMembership) to which this Person or
641
     * Organization belongs.
642
     *
643
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf
644
     *
645
     * @return static
646
     *
647
     * @see http://schema.org/memberOf
648
     */
649
    public function memberOf($memberOf)
650
    {
651
        return $this->setProperty('memberOf', $memberOf);
652
    }
653
654
    /**
655
     * A member of this organization.
656
     *
657
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members
658
     *
659
     * @return static
660
     *
661
     * @see http://schema.org/members
662
     */
663
    public function members($members)
664
    {
665
        return $this->setProperty('members', $members);
666
    }
667
668
    /**
669
     * A member of a music group&#x2014;for example, John, Paul, George, or
670
     * Ringo.
671
     *
672
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $musicGroupMember
673
     *
674
     * @return static
675
     *
676
     * @see http://schema.org/musicGroupMember
677
     */
678
    public function musicGroupMember($musicGroupMember)
679
    {
680
        return $this->setProperty('musicGroupMember', $musicGroupMember);
681
    }
682
683
    /**
684
     * The North American Industry Classification System (NAICS) code for a
685
     * particular organization or business person.
686
     *
687
     * @param string|string[] $naics
688
     *
689
     * @return static
690
     *
691
     * @see http://schema.org/naics
692
     */
693
    public function naics($naics)
694
    {
695
        return $this->setProperty('naics', $naics);
696
    }
697
698
    /**
699
     * The name of the item.
700
     *
701
     * @param string|string[] $name
702
     *
703
     * @return static
704
     *
705
     * @see http://schema.org/name
706
     */
707
    public function name($name)
708
    {
709
        return $this->setProperty('name', $name);
710
    }
711
712
    /**
713
     * The number of employees in an organization e.g. business.
714
     *
715
     * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees
716
     *
717
     * @return static
718
     *
719
     * @see http://schema.org/numberOfEmployees
720
     */
721
    public function numberOfEmployees($numberOfEmployees)
722
    {
723
        return $this->setProperty('numberOfEmployees', $numberOfEmployees);
724
    }
725
726
    /**
727
     * A pointer to the organization or person making the offer.
728
     *
729
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy
730
     *
731
     * @return static
732
     *
733
     * @see http://schema.org/offeredBy
734
     */
735
    public function offeredBy($offeredBy)
736
    {
737
        return $this->setProperty('offeredBy', $offeredBy);
738
    }
739
740
    /**
741
     * Products owned by the organization or person.
742
     *
743
     * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns
744
     *
745
     * @return static
746
     *
747
     * @see http://schema.org/owns
748
     */
749
    public function owns($owns)
750
    {
751
        return $this->setProperty('owns', $owns);
752
    }
753
754
    /**
755
     * The larger organization that this organization is a [[subOrganization]]
756
     * of, if any.
757
     *
758
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization
759
     *
760
     * @return static
761
     *
762
     * @see http://schema.org/parentOrganization
763
     */
764
    public function parentOrganization($parentOrganization)
765
    {
766
        return $this->setProperty('parentOrganization', $parentOrganization);
767
    }
768
769
    /**
770
     * Indicates a potential Action, which describes an idealized action in
771
     * which this thing would play an 'object' role.
772
     *
773
     * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
774
     *
775
     * @return static
776
     *
777
     * @see http://schema.org/potentialAction
778
     */
779
    public function potentialAction($potentialAction)
780
    {
781
        return $this->setProperty('potentialAction', $potentialAction);
782
    }
783
784
    /**
785
     * The publishingPrinciples property indicates (typically via [[URL]]) a
786
     * document describing the editorial principles of an [[Organization]] (or
787
     * individual e.g. a [[Person]] writing a blog) that relate to their
788
     * activities as a publisher, e.g. ethics or diversity policies. When
789
     * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are
790
     * those of the party primarily responsible for the creation of the
791
     * [[CreativeWork]].
792
     * 
793
     * While such policies are most typically expressed in natural language,
794
     * sometimes related information (e.g. indicating a [[funder]]) can be
795
     * expressed using schema.org terminology.
796
     *
797
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples
798
     *
799
     * @return static
800
     *
801
     * @see http://schema.org/publishingPrinciples
802
     */
803
    public function publishingPrinciples($publishingPrinciples)
804
    {
805
        return $this->setProperty('publishingPrinciples', $publishingPrinciples);
806
    }
807
808
    /**
809
     * A review of the item.
810
     *
811
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review
812
     *
813
     * @return static
814
     *
815
     * @see http://schema.org/review
816
     */
817
    public function review($review)
818
    {
819
        return $this->setProperty('review', $review);
820
    }
821
822
    /**
823
     * Review of the item.
824
     *
825
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews
826
     *
827
     * @return static
828
     *
829
     * @see http://schema.org/reviews
830
     */
831
    public function reviews($reviews)
832
    {
833
        return $this->setProperty('reviews', $reviews);
834
    }
835
836
    /**
837
     * URL of a reference Web page that unambiguously indicates the item's
838
     * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
839
     * official website.
840
     *
841
     * @param string|string[] $sameAs
842
     *
843
     * @return static
844
     *
845
     * @see http://schema.org/sameAs
846
     */
847
    public function sameAs($sameAs)
848
    {
849
        return $this->setProperty('sameAs', $sameAs);
850
    }
851
852
    /**
853
     * A pointer to products or services sought by the organization or person
854
     * (demand).
855
     *
856
     * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks
857
     *
858
     * @return static
859
     *
860
     * @see http://schema.org/seeks
861
     */
862
    public function seeks($seeks)
863
    {
864
        return $this->setProperty('seeks', $seeks);
865
    }
866
867
    /**
868
     * The geographic area where the service is provided.
869
     *
870
     * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea
871
     *
872
     * @return static
873
     *
874
     * @see http://schema.org/serviceArea
875
     */
876
    public function serviceArea($serviceArea)
877
    {
878
        return $this->setProperty('serviceArea', $serviceArea);
879
    }
880
881
    /**
882
     * A slogan or motto associated with the item.
883
     *
884
     * @param string|string[] $slogan
885
     *
886
     * @return static
887
     *
888
     * @see http://schema.org/slogan
889
     */
890
    public function slogan($slogan)
891
    {
892
        return $this->setProperty('slogan', $slogan);
893
    }
894
895
    /**
896
     * A person or organization that supports a thing through a pledge, promise,
897
     * or financial contribution. e.g. a sponsor of a Medical Study or a
898
     * corporate sponsor of an event.
899
     *
900
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor
901
     *
902
     * @return static
903
     *
904
     * @see http://schema.org/sponsor
905
     */
906
    public function sponsor($sponsor)
907
    {
908
        return $this->setProperty('sponsor', $sponsor);
909
    }
910
911
    /**
912
     * A relationship between two organizations where the first includes the
913
     * second, e.g., as a subsidiary. See also: the more specific 'department'
914
     * property.
915
     *
916
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization
917
     *
918
     * @return static
919
     *
920
     * @see http://schema.org/subOrganization
921
     */
922
    public function subOrganization($subOrganization)
923
    {
924
        return $this->setProperty('subOrganization', $subOrganization);
925
    }
926
927
    /**
928
     * A CreativeWork or Event about this Thing.
929
     *
930
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
931
     *
932
     * @return static
933
     *
934
     * @see http://schema.org/subjectOf
935
     */
936
    public function subjectOf($subjectOf)
937
    {
938
        return $this->setProperty('subjectOf', $subjectOf);
939
    }
940
941
    /**
942
     * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US
943
     * or the CIF/NIF in Spain.
944
     *
945
     * @param string|string[] $taxID
946
     *
947
     * @return static
948
     *
949
     * @see http://schema.org/taxID
950
     */
951
    public function taxID($taxID)
952
    {
953
        return $this->setProperty('taxID', $taxID);
954
    }
955
956
    /**
957
     * The telephone number.
958
     *
959
     * @param string|string[] $telephone
960
     *
961
     * @return static
962
     *
963
     * @see http://schema.org/telephone
964
     */
965
    public function telephone($telephone)
966
    {
967
        return $this->setProperty('telephone', $telephone);
968
    }
969
970
    /**
971
     * A music recording (track)&#x2014;usually a single song. If an ItemList is
972
     * given, the list should contain items of type MusicRecording.
973
     *
974
     * @param \Spatie\SchemaOrg\Contracts\ItemListContract|\Spatie\SchemaOrg\Contracts\ItemListContract[]|\Spatie\SchemaOrg\Contracts\MusicRecordingContract|\Spatie\SchemaOrg\Contracts\MusicRecordingContract[] $track
975
     *
976
     * @return static
977
     *
978
     * @see http://schema.org/track
979
     */
980
    public function track($track)
981
    {
982
        return $this->setProperty('track', $track);
983
    }
984
985
    /**
986
     * A music recording (track)&#x2014;usually a single song.
987
     *
988
     * @param \Spatie\SchemaOrg\Contracts\MusicRecordingContract|\Spatie\SchemaOrg\Contracts\MusicRecordingContract[] $tracks
989
     *
990
     * @return static
991
     *
992
     * @see http://schema.org/tracks
993
     */
994
    public function tracks($tracks)
995
    {
996
        return $this->setProperty('tracks', $tracks);
997
    }
998
999
    /**
1000
     * URL of the item.
1001
     *
1002
     * @param string|string[] $url
1003
     *
1004
     * @return static
1005
     *
1006
     * @see http://schema.org/url
1007
     */
1008
    public function url($url)
1009
    {
1010
        return $this->setProperty('url', $url);
1011
    }
1012
1013
    /**
1014
     * The Value-added Tax ID of the organization or person.
1015
     *
1016
     * @param string|string[] $vatID
1017
     *
1018
     * @return static
1019
     *
1020
     * @see http://schema.org/vatID
1021
     */
1022
    public function vatID($vatID)
1023
    {
1024
        return $this->setProperty('vatID', $vatID);
1025
    }
1026
1027
}
1028