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/MiddleSchool.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\MiddleSchoolContract;
6
use \Spatie\SchemaOrg\Contracts\CivicStructureContract;
7
use \Spatie\SchemaOrg\Contracts\EducationalOrganizationContract;
8
use \Spatie\SchemaOrg\Contracts\OrganizationContract;
9
use \Spatie\SchemaOrg\Contracts\PlaceContract;
10
use \Spatie\SchemaOrg\Contracts\ThingContract;
11
12
/**
13
 * A middle school (typically for children aged around 11-14, although this
14
 * varies somewhat).
15
 *
16
 * @see http://schema.org/MiddleSchool
17
 *
18
 */
19 View Code Duplication
class MiddleSchool extends BaseType implements MiddleSchoolContract, CivicStructureContract, EducationalOrganizationContract, OrganizationContract, PlaceContract, 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...
20
{
21
    /**
22
     * A property-value pair representing an additional characteristics of the
23
     * entitity, e.g. a product feature or another characteristic for which
24
     * there is no matching property in schema.org.
25
     * 
26
     * Note: Publishers should be aware that applications designed to use
27
     * specific schema.org properties (e.g. http://schema.org/width,
28
     * http://schema.org/color, http://schema.org/gtin13, ...) will typically
29
     * expect such data to be provided using those properties, rather than using
30
     * the generic property/value mechanism.
31
     *
32
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty
33
     *
34
     * @return static
35
     *
36
     * @see http://schema.org/additionalProperty
37
     */
38
    public function additionalProperty($additionalProperty)
39
    {
40
        return $this->setProperty('additionalProperty', $additionalProperty);
41
    }
42
43
    /**
44
     * An additional type for the item, typically used for adding more specific
45
     * types from external vocabularies in microdata syntax. This is a
46
     * relationship between something and a class that the thing is in. In RDFa
47
     * syntax, it is better to use the native RDFa syntax - the 'typeof'
48
     * attribute - for multiple types. Schema.org tools may have only weaker
49
     * understanding of extra types, in particular those defined externally.
50
     *
51
     * @param string|string[] $additionalType
52
     *
53
     * @return static
54
     *
55
     * @see http://schema.org/additionalType
56
     */
57
    public function additionalType($additionalType)
58
    {
59
        return $this->setProperty('additionalType', $additionalType);
60
    }
61
62
    /**
63
     * Physical address of the item.
64
     *
65
     * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address
66
     *
67
     * @return static
68
     *
69
     * @see http://schema.org/address
70
     */
71
    public function address($address)
72
    {
73
        return $this->setProperty('address', $address);
74
    }
75
76
    /**
77
     * The overall rating, based on a collection of reviews or ratings, of the
78
     * item.
79
     *
80
     * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating
81
     *
82
     * @return static
83
     *
84
     * @see http://schema.org/aggregateRating
85
     */
86
    public function aggregateRating($aggregateRating)
87
    {
88
        return $this->setProperty('aggregateRating', $aggregateRating);
89
    }
90
91
    /**
92
     * An alias for the item.
93
     *
94
     * @param string|string[] $alternateName
95
     *
96
     * @return static
97
     *
98
     * @see http://schema.org/alternateName
99
     */
100
    public function alternateName($alternateName)
101
    {
102
        return $this->setProperty('alternateName', $alternateName);
103
    }
104
105
    /**
106
     * Alumni of an organization.
107
     *
108
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni
109
     *
110
     * @return static
111
     *
112
     * @see http://schema.org/alumni
113
     */
114
    public function alumni($alumni)
115
    {
116
        return $this->setProperty('alumni', $alumni);
117
    }
118
119
    /**
120
     * An amenity feature (e.g. a characteristic or service) of the
121
     * Accommodation. This generic property does not make a statement about
122
     * whether the feature is included in an offer for the main accommodation or
123
     * available at extra costs.
124
     *
125
     * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature
126
     *
127
     * @return static
128
     *
129
     * @see http://schema.org/amenityFeature
130
     */
131
    public function amenityFeature($amenityFeature)
132
    {
133
        return $this->setProperty('amenityFeature', $amenityFeature);
134
    }
135
136
    /**
137
     * The geographic area where a service or offered item is provided.
138
     *
139
     * @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
140
     *
141
     * @return static
142
     *
143
     * @see http://schema.org/areaServed
144
     */
145
    public function areaServed($areaServed)
146
    {
147
        return $this->setProperty('areaServed', $areaServed);
148
    }
149
150
    /**
151
     * An award won by or for this item.
152
     *
153
     * @param string|string[] $award
154
     *
155
     * @return static
156
     *
157
     * @see http://schema.org/award
158
     */
159
    public function award($award)
160
    {
161
        return $this->setProperty('award', $award);
162
    }
163
164
    /**
165
     * Awards won by or for this item.
166
     *
167
     * @param string|string[] $awards
168
     *
169
     * @return static
170
     *
171
     * @see http://schema.org/awards
172
     */
173
    public function awards($awards)
174
    {
175
        return $this->setProperty('awards', $awards);
176
    }
177
178
    /**
179
     * A short textual code (also called "store code") that uniquely identifies
180
     * a place of business. The code is typically assigned by the
181
     * parentOrganization and used in structured URLs.
182
     * 
183
     * For example, in the URL
184
     * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047"
185
     * is a branchCode for a particular branch.
186
     *
187
     * @param string|string[] $branchCode
188
     *
189
     * @return static
190
     *
191
     * @see http://schema.org/branchCode
192
     */
193
    public function branchCode($branchCode)
194
    {
195
        return $this->setProperty('branchCode', $branchCode);
196
    }
197
198
    /**
199
     * The brand(s) associated with a product or service, or the brand(s)
200
     * maintained by an organization or business person.
201
     *
202
     * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand
203
     *
204
     * @return static
205
     *
206
     * @see http://schema.org/brand
207
     */
208
    public function brand($brand)
209
    {
210
        return $this->setProperty('brand', $brand);
211
    }
212
213
    /**
214
     * A contact point for a person or organization.
215
     *
216
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint
217
     *
218
     * @return static
219
     *
220
     * @see http://schema.org/contactPoint
221
     */
222
    public function contactPoint($contactPoint)
223
    {
224
        return $this->setProperty('contactPoint', $contactPoint);
225
    }
226
227
    /**
228
     * A contact point for a person or organization.
229
     *
230
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints
231
     *
232
     * @return static
233
     *
234
     * @see http://schema.org/contactPoints
235
     */
236
    public function contactPoints($contactPoints)
237
    {
238
        return $this->setProperty('contactPoints', $contactPoints);
239
    }
240
241
    /**
242
     * The basic containment relation between a place and one that contains it.
243
     *
244
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn
245
     *
246
     * @return static
247
     *
248
     * @see http://schema.org/containedIn
249
     */
250
    public function containedIn($containedIn)
251
    {
252
        return $this->setProperty('containedIn', $containedIn);
253
    }
254
255
    /**
256
     * The basic containment relation between a place and one that contains it.
257
     *
258
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace
259
     *
260
     * @return static
261
     *
262
     * @see http://schema.org/containedInPlace
263
     */
264
    public function containedInPlace($containedInPlace)
265
    {
266
        return $this->setProperty('containedInPlace', $containedInPlace);
267
    }
268
269
    /**
270
     * The basic containment relation between a place and another that it
271
     * contains.
272
     *
273
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace
274
     *
275
     * @return static
276
     *
277
     * @see http://schema.org/containsPlace
278
     */
279
    public function containsPlace($containsPlace)
280
    {
281
        return $this->setProperty('containsPlace', $containsPlace);
282
    }
283
284
    /**
285
     * A relationship between an organization and a department of that
286
     * organization, also described as an organization (allowing different urls,
287
     * logos, opening hours). For example: a store with a pharmacy, or a bakery
288
     * with a cafe.
289
     *
290
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department
291
     *
292
     * @return static
293
     *
294
     * @see http://schema.org/department
295
     */
296
    public function department($department)
297
    {
298
        return $this->setProperty('department', $department);
299
    }
300
301
    /**
302
     * A description of the item.
303
     *
304
     * @param string|string[] $description
305
     *
306
     * @return static
307
     *
308
     * @see http://schema.org/description
309
     */
310
    public function description($description)
311
    {
312
        return $this->setProperty('description', $description);
313
    }
314
315
    /**
316
     * A sub property of description. A short description of the item used to
317
     * disambiguate from other, similar items. Information from other properties
318
     * (in particular, name) may be necessary for the description to be useful
319
     * for disambiguation.
320
     *
321
     * @param string|string[] $disambiguatingDescription
322
     *
323
     * @return static
324
     *
325
     * @see http://schema.org/disambiguatingDescription
326
     */
327
    public function disambiguatingDescription($disambiguatingDescription)
328
    {
329
        return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
330
    }
331
332
    /**
333
     * The date that this organization was dissolved.
334
     *
335
     * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate
336
     *
337
     * @return static
338
     *
339
     * @see http://schema.org/dissolutionDate
340
     */
341
    public function dissolutionDate($dissolutionDate)
342
    {
343
        return $this->setProperty('dissolutionDate', $dissolutionDate);
344
    }
345
346
    /**
347
     * The Dun & Bradstreet DUNS number for identifying an organization or
348
     * business person.
349
     *
350
     * @param string|string[] $duns
351
     *
352
     * @return static
353
     *
354
     * @see http://schema.org/duns
355
     */
356
    public function duns($duns)
357
    {
358
        return $this->setProperty('duns', $duns);
359
    }
360
361
    /**
362
     * Email address.
363
     *
364
     * @param string|string[] $email
365
     *
366
     * @return static
367
     *
368
     * @see http://schema.org/email
369
     */
370
    public function email($email)
371
    {
372
        return $this->setProperty('email', $email);
373
    }
374
375
    /**
376
     * Someone working for this organization.
377
     *
378
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee
379
     *
380
     * @return static
381
     *
382
     * @see http://schema.org/employee
383
     */
384
    public function employee($employee)
385
    {
386
        return $this->setProperty('employee', $employee);
387
    }
388
389
    /**
390
     * People working for this organization.
391
     *
392
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees
393
     *
394
     * @return static
395
     *
396
     * @see http://schema.org/employees
397
     */
398
    public function employees($employees)
399
    {
400
        return $this->setProperty('employees', $employees);
401
    }
402
403
    /**
404
     * Upcoming or past event associated with this place, organization, or
405
     * action.
406
     *
407
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event
408
     *
409
     * @return static
410
     *
411
     * @see http://schema.org/event
412
     */
413
    public function event($event)
414
    {
415
        return $this->setProperty('event', $event);
416
    }
417
418
    /**
419
     * Upcoming or past events associated with this place or organization.
420
     *
421
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events
422
     *
423
     * @return static
424
     *
425
     * @see http://schema.org/events
426
     */
427
    public function events($events)
428
    {
429
        return $this->setProperty('events', $events);
430
    }
431
432
    /**
433
     * The fax number.
434
     *
435
     * @param string|string[] $faxNumber
436
     *
437
     * @return static
438
     *
439
     * @see http://schema.org/faxNumber
440
     */
441
    public function faxNumber($faxNumber)
442
    {
443
        return $this->setProperty('faxNumber', $faxNumber);
444
    }
445
446
    /**
447
     * A person who founded this organization.
448
     *
449
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder
450
     *
451
     * @return static
452
     *
453
     * @see http://schema.org/founder
454
     */
455
    public function founder($founder)
456
    {
457
        return $this->setProperty('founder', $founder);
458
    }
459
460
    /**
461
     * A person who founded this organization.
462
     *
463
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders
464
     *
465
     * @return static
466
     *
467
     * @see http://schema.org/founders
468
     */
469
    public function founders($founders)
470
    {
471
        return $this->setProperty('founders', $founders);
472
    }
473
474
    /**
475
     * The date that this organization was founded.
476
     *
477
     * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate
478
     *
479
     * @return static
480
     *
481
     * @see http://schema.org/foundingDate
482
     */
483
    public function foundingDate($foundingDate)
484
    {
485
        return $this->setProperty('foundingDate', $foundingDate);
486
    }
487
488
    /**
489
     * The place where the Organization was founded.
490
     *
491
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation
492
     *
493
     * @return static
494
     *
495
     * @see http://schema.org/foundingLocation
496
     */
497
    public function foundingLocation($foundingLocation)
498
    {
499
        return $this->setProperty('foundingLocation', $foundingLocation);
500
    }
501
502
    /**
503
     * A person or organization that supports (sponsors) something through some
504
     * kind of financial contribution.
505
     *
506
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder
507
     *
508
     * @return static
509
     *
510
     * @see http://schema.org/funder
511
     */
512
    public function funder($funder)
513
    {
514
        return $this->setProperty('funder', $funder);
515
    }
516
517
    /**
518
     * The geo coordinates of the place.
519
     *
520
     * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo
521
     *
522
     * @return static
523
     *
524
     * @see http://schema.org/geo
525
     */
526
    public function geo($geo)
527
    {
528
        return $this->setProperty('geo', $geo);
529
    }
530
531
    /**
532
     * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also
533
     * referred to as International Location Number or ILN) of the respective
534
     * organization, person, or place. The GLN is a 13-digit number used to
535
     * identify parties and physical locations.
536
     *
537
     * @param string|string[] $globalLocationNumber
538
     *
539
     * @return static
540
     *
541
     * @see http://schema.org/globalLocationNumber
542
     */
543
    public function globalLocationNumber($globalLocationNumber)
544
    {
545
        return $this->setProperty('globalLocationNumber', $globalLocationNumber);
546
    }
547
548
    /**
549
     * A URL to a map of the place.
550
     *
551
     * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap
552
     *
553
     * @return static
554
     *
555
     * @see http://schema.org/hasMap
556
     */
557
    public function hasMap($hasMap)
558
    {
559
        return $this->setProperty('hasMap', $hasMap);
560
    }
561
562
    /**
563
     * Indicates an OfferCatalog listing for this Organization, Person, or
564
     * Service.
565
     *
566
     * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog
567
     *
568
     * @return static
569
     *
570
     * @see http://schema.org/hasOfferCatalog
571
     */
572
    public function hasOfferCatalog($hasOfferCatalog)
573
    {
574
        return $this->setProperty('hasOfferCatalog', $hasOfferCatalog);
575
    }
576
577
    /**
578
     * Points-of-Sales operated by the organization or person.
579
     *
580
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS
581
     *
582
     * @return static
583
     *
584
     * @see http://schema.org/hasPOS
585
     */
586
    public function hasPOS($hasPOS)
587
    {
588
        return $this->setProperty('hasPOS', $hasPOS);
589
    }
590
591
    /**
592
     * The identifier property represents any kind of identifier for any kind of
593
     * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
594
     * dedicated properties for representing many of these, either as textual
595
     * strings or as URL (URI) links. See [background
596
     * notes](/docs/datamodel.html#identifierBg) for more details.
597
     *
598
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
599
     *
600
     * @return static
601
     *
602
     * @see http://schema.org/identifier
603
     */
604
    public function identifier($identifier)
605
    {
606
        return $this->setProperty('identifier', $identifier);
607
    }
608
609
    /**
610
     * An image of the item. This can be a [[URL]] or a fully described
611
     * [[ImageObject]].
612
     *
613
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
614
     *
615
     * @return static
616
     *
617
     * @see http://schema.org/image
618
     */
619
    public function image($image)
620
    {
621
        return $this->setProperty('image', $image);
622
    }
623
624
    /**
625
     * A flag to signal that the item, event, or place is accessible for free.
626
     *
627
     * @param bool|bool[] $isAccessibleForFree
628
     *
629
     * @return static
630
     *
631
     * @see http://schema.org/isAccessibleForFree
632
     */
633
    public function isAccessibleForFree($isAccessibleForFree)
634
    {
635
        return $this->setProperty('isAccessibleForFree', $isAccessibleForFree);
636
    }
637
638
    /**
639
     * The International Standard of Industrial Classification of All Economic
640
     * Activities (ISIC), Revision 4 code for a particular organization,
641
     * business person, or place.
642
     *
643
     * @param string|string[] $isicV4
644
     *
645
     * @return static
646
     *
647
     * @see http://schema.org/isicV4
648
     */
649
    public function isicV4($isicV4)
650
    {
651
        return $this->setProperty('isicV4', $isicV4);
652
    }
653
654
    /**
655
     * The latitude of a location. For example ```37.42242``` ([WGS
656
     * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).
657
     *
658
     * @param float|float[]|int|int[]|string|string[] $latitude
659
     *
660
     * @return static
661
     *
662
     * @see http://schema.org/latitude
663
     */
664
    public function latitude($latitude)
665
    {
666
        return $this->setProperty('latitude', $latitude);
667
    }
668
669
    /**
670
     * The official name of the organization, e.g. the registered company name.
671
     *
672
     * @param string|string[] $legalName
673
     *
674
     * @return static
675
     *
676
     * @see http://schema.org/legalName
677
     */
678
    public function legalName($legalName)
679
    {
680
        return $this->setProperty('legalName', $legalName);
681
    }
682
683
    /**
684
     * An organization identifier that uniquely identifies a legal entity as
685
     * defined in ISO 17442.
686
     *
687
     * @param string|string[] $leiCode
688
     *
689
     * @return static
690
     *
691
     * @see http://schema.org/leiCode
692
     */
693
    public function leiCode($leiCode)
694
    {
695
        return $this->setProperty('leiCode', $leiCode);
696
    }
697
698
    /**
699
     * The location of for example where the event is happening, an organization
700
     * is located, or where an action takes place.
701
     *
702
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location
703
     *
704
     * @return static
705
     *
706
     * @see http://schema.org/location
707
     */
708
    public function location($location)
709
    {
710
        return $this->setProperty('location', $location);
711
    }
712
713
    /**
714
     * An associated logo.
715
     *
716
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo
717
     *
718
     * @return static
719
     *
720
     * @see http://schema.org/logo
721
     */
722
    public function logo($logo)
723
    {
724
        return $this->setProperty('logo', $logo);
725
    }
726
727
    /**
728
     * The longitude of a location. For example ```-122.08585``` ([WGS
729
     * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).
730
     *
731
     * @param float|float[]|int|int[]|string|string[] $longitude
732
     *
733
     * @return static
734
     *
735
     * @see http://schema.org/longitude
736
     */
737
    public function longitude($longitude)
738
    {
739
        return $this->setProperty('longitude', $longitude);
740
    }
741
742
    /**
743
     * Indicates a page (or other CreativeWork) for which this thing is the main
744
     * entity being described. See [background
745
     * notes](/docs/datamodel.html#mainEntityBackground) for details.
746
     *
747
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
748
     *
749
     * @return static
750
     *
751
     * @see http://schema.org/mainEntityOfPage
752
     */
753
    public function mainEntityOfPage($mainEntityOfPage)
754
    {
755
        return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
756
    }
757
758
    /**
759
     * A pointer to products or services offered by the organization or person.
760
     *
761
     * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer
762
     *
763
     * @return static
764
     *
765
     * @see http://schema.org/makesOffer
766
     */
767
    public function makesOffer($makesOffer)
768
    {
769
        return $this->setProperty('makesOffer', $makesOffer);
770
    }
771
772
    /**
773
     * A URL to a map of the place.
774
     *
775
     * @param string|string[] $map
776
     *
777
     * @return static
778
     *
779
     * @see http://schema.org/map
780
     */
781
    public function map($map)
782
    {
783
        return $this->setProperty('map', $map);
784
    }
785
786
    /**
787
     * A URL to a map of the place.
788
     *
789
     * @param string|string[] $maps
790
     *
791
     * @return static
792
     *
793
     * @see http://schema.org/maps
794
     */
795
    public function maps($maps)
796
    {
797
        return $this->setProperty('maps', $maps);
798
    }
799
800
    /**
801
     * The total number of individuals that may attend an event or venue.
802
     *
803
     * @param int|int[] $maximumAttendeeCapacity
804
     *
805
     * @return static
806
     *
807
     * @see http://schema.org/maximumAttendeeCapacity
808
     */
809
    public function maximumAttendeeCapacity($maximumAttendeeCapacity)
810
    {
811
        return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity);
812
    }
813
814
    /**
815
     * A member of an Organization or a ProgramMembership. Organizations can be
816
     * members of organizations; ProgramMembership is typically for individuals.
817
     *
818
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member
819
     *
820
     * @return static
821
     *
822
     * @see http://schema.org/member
823
     */
824
    public function member($member)
825
    {
826
        return $this->setProperty('member', $member);
827
    }
828
829
    /**
830
     * An Organization (or ProgramMembership) to which this Person or
831
     * Organization belongs.
832
     *
833
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf
834
     *
835
     * @return static
836
     *
837
     * @see http://schema.org/memberOf
838
     */
839
    public function memberOf($memberOf)
840
    {
841
        return $this->setProperty('memberOf', $memberOf);
842
    }
843
844
    /**
845
     * A member of this organization.
846
     *
847
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members
848
     *
849
     * @return static
850
     *
851
     * @see http://schema.org/members
852
     */
853
    public function members($members)
854
    {
855
        return $this->setProperty('members', $members);
856
    }
857
858
    /**
859
     * The North American Industry Classification System (NAICS) code for a
860
     * particular organization or business person.
861
     *
862
     * @param string|string[] $naics
863
     *
864
     * @return static
865
     *
866
     * @see http://schema.org/naics
867
     */
868
    public function naics($naics)
869
    {
870
        return $this->setProperty('naics', $naics);
871
    }
872
873
    /**
874
     * The name of the item.
875
     *
876
     * @param string|string[] $name
877
     *
878
     * @return static
879
     *
880
     * @see http://schema.org/name
881
     */
882
    public function name($name)
883
    {
884
        return $this->setProperty('name', $name);
885
    }
886
887
    /**
888
     * The number of employees in an organization e.g. business.
889
     *
890
     * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees
891
     *
892
     * @return static
893
     *
894
     * @see http://schema.org/numberOfEmployees
895
     */
896
    public function numberOfEmployees($numberOfEmployees)
897
    {
898
        return $this->setProperty('numberOfEmployees', $numberOfEmployees);
899
    }
900
901
    /**
902
     * A pointer to the organization or person making the offer.
903
     *
904
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy
905
     *
906
     * @return static
907
     *
908
     * @see http://schema.org/offeredBy
909
     */
910
    public function offeredBy($offeredBy)
911
    {
912
        return $this->setProperty('offeredBy', $offeredBy);
913
    }
914
915
    /**
916
     * The general opening hours for a business. Opening hours can be specified
917
     * as a weekly time range, starting with days, then times per day. Multiple
918
     * days can be listed with commas ',' separating each day. Day or time
919
     * ranges are specified using a hyphen '-'.
920
     * 
921
     * * Days are specified using the following two-letter combinations:
922
     * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```.
923
     * * Times are specified using 24:00 time. For example, 3pm is specified as
924
     * ```15:00```. 
925
     * * Here is an example: <code>&lt;time itemprop="openingHours"
926
     * datetime=&quot;Tu,Th 16:00-20:00&quot;&gt;Tuesdays and Thursdays
927
     * 4-8pm&lt;/time&gt;</code>.
928
     * * If a business is open 7 days a week, then it can be specified as
929
     * <code>&lt;time itemprop=&quot;openingHours&quot;
930
     * datetime=&quot;Mo-Su&quot;&gt;Monday through Sunday, all
931
     * day&lt;/time&gt;</code>.
932
     *
933
     * @param string|string[] $openingHours
934
     *
935
     * @return static
936
     *
937
     * @see http://schema.org/openingHours
938
     */
939
    public function openingHours($openingHours)
940
    {
941
        return $this->setProperty('openingHours', $openingHours);
942
    }
943
944
    /**
945
     * The opening hours of a certain place.
946
     *
947
     * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification
948
     *
949
     * @return static
950
     *
951
     * @see http://schema.org/openingHoursSpecification
952
     */
953
    public function openingHoursSpecification($openingHoursSpecification)
954
    {
955
        return $this->setProperty('openingHoursSpecification', $openingHoursSpecification);
956
    }
957
958
    /**
959
     * Products owned by the organization or person.
960
     *
961
     * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns
962
     *
963
     * @return static
964
     *
965
     * @see http://schema.org/owns
966
     */
967
    public function owns($owns)
968
    {
969
        return $this->setProperty('owns', $owns);
970
    }
971
972
    /**
973
     * The larger organization that this organization is a [[subOrganization]]
974
     * of, if any.
975
     *
976
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization
977
     *
978
     * @return static
979
     *
980
     * @see http://schema.org/parentOrganization
981
     */
982
    public function parentOrganization($parentOrganization)
983
    {
984
        return $this->setProperty('parentOrganization', $parentOrganization);
985
    }
986
987
    /**
988
     * A photograph of this place.
989
     *
990
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo
991
     *
992
     * @return static
993
     *
994
     * @see http://schema.org/photo
995
     */
996
    public function photo($photo)
997
    {
998
        return $this->setProperty('photo', $photo);
999
    }
1000
1001
    /**
1002
     * Photographs of this place.
1003
     *
1004
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos
1005
     *
1006
     * @return static
1007
     *
1008
     * @see http://schema.org/photos
1009
     */
1010
    public function photos($photos)
1011
    {
1012
        return $this->setProperty('photos', $photos);
1013
    }
1014
1015
    /**
1016
     * Indicates a potential Action, which describes an idealized action in
1017
     * which this thing would play an 'object' role.
1018
     *
1019
     * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
1020
     *
1021
     * @return static
1022
     *
1023
     * @see http://schema.org/potentialAction
1024
     */
1025
    public function potentialAction($potentialAction)
1026
    {
1027
        return $this->setProperty('potentialAction', $potentialAction);
1028
    }
1029
1030
    /**
1031
     * A flag to signal that the [[Place]] is open to public visitors.  If this
1032
     * property is omitted there is no assumed default boolean value
1033
     *
1034
     * @param bool|bool[] $publicAccess
1035
     *
1036
     * @return static
1037
     *
1038
     * @see http://schema.org/publicAccess
1039
     */
1040
    public function publicAccess($publicAccess)
1041
    {
1042
        return $this->setProperty('publicAccess', $publicAccess);
1043
    }
1044
1045
    /**
1046
     * The publishingPrinciples property indicates (typically via [[URL]]) a
1047
     * document describing the editorial principles of an [[Organization]] (or
1048
     * individual e.g. a [[Person]] writing a blog) that relate to their
1049
     * activities as a publisher, e.g. ethics or diversity policies. When
1050
     * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are
1051
     * those of the party primarily responsible for the creation of the
1052
     * [[CreativeWork]].
1053
     * 
1054
     * While such policies are most typically expressed in natural language,
1055
     * sometimes related information (e.g. indicating a [[funder]]) can be
1056
     * expressed using schema.org terminology.
1057
     *
1058
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples
1059
     *
1060
     * @return static
1061
     *
1062
     * @see http://schema.org/publishingPrinciples
1063
     */
1064
    public function publishingPrinciples($publishingPrinciples)
1065
    {
1066
        return $this->setProperty('publishingPrinciples', $publishingPrinciples);
1067
    }
1068
1069
    /**
1070
     * A review of the item.
1071
     *
1072
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review
1073
     *
1074
     * @return static
1075
     *
1076
     * @see http://schema.org/review
1077
     */
1078
    public function review($review)
1079
    {
1080
        return $this->setProperty('review', $review);
1081
    }
1082
1083
    /**
1084
     * Review of the item.
1085
     *
1086
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews
1087
     *
1088
     * @return static
1089
     *
1090
     * @see http://schema.org/reviews
1091
     */
1092
    public function reviews($reviews)
1093
    {
1094
        return $this->setProperty('reviews', $reviews);
1095
    }
1096
1097
    /**
1098
     * URL of a reference Web page that unambiguously indicates the item's
1099
     * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
1100
     * official website.
1101
     *
1102
     * @param string|string[] $sameAs
1103
     *
1104
     * @return static
1105
     *
1106
     * @see http://schema.org/sameAs
1107
     */
1108
    public function sameAs($sameAs)
1109
    {
1110
        return $this->setProperty('sameAs', $sameAs);
1111
    }
1112
1113
    /**
1114
     * A pointer to products or services sought by the organization or person
1115
     * (demand).
1116
     *
1117
     * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks
1118
     *
1119
     * @return static
1120
     *
1121
     * @see http://schema.org/seeks
1122
     */
1123
    public function seeks($seeks)
1124
    {
1125
        return $this->setProperty('seeks', $seeks);
1126
    }
1127
1128
    /**
1129
     * The geographic area where the service is provided.
1130
     *
1131
     * @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
1132
     *
1133
     * @return static
1134
     *
1135
     * @see http://schema.org/serviceArea
1136
     */
1137
    public function serviceArea($serviceArea)
1138
    {
1139
        return $this->setProperty('serviceArea', $serviceArea);
1140
    }
1141
1142
    /**
1143
     * A slogan or motto associated with the item.
1144
     *
1145
     * @param string|string[] $slogan
1146
     *
1147
     * @return static
1148
     *
1149
     * @see http://schema.org/slogan
1150
     */
1151
    public function slogan($slogan)
1152
    {
1153
        return $this->setProperty('slogan', $slogan);
1154
    }
1155
1156
    /**
1157
     * Indicates whether it is allowed to smoke in the place, e.g. in the
1158
     * restaurant, hotel or hotel room.
1159
     *
1160
     * @param bool|bool[] $smokingAllowed
1161
     *
1162
     * @return static
1163
     *
1164
     * @see http://schema.org/smokingAllowed
1165
     */
1166
    public function smokingAllowed($smokingAllowed)
1167
    {
1168
        return $this->setProperty('smokingAllowed', $smokingAllowed);
1169
    }
1170
1171
    /**
1172
     * The special opening hours of a certain place.
1173
     * 
1174
     * Use this to explicitly override general opening hours brought in scope by
1175
     * [[openingHoursSpecification]] or [[openingHours]].
1176
     *
1177
     * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification
1178
     *
1179
     * @return static
1180
     *
1181
     * @see http://schema.org/specialOpeningHoursSpecification
1182
     */
1183
    public function specialOpeningHoursSpecification($specialOpeningHoursSpecification)
1184
    {
1185
        return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification);
1186
    }
1187
1188
    /**
1189
     * A person or organization that supports a thing through a pledge, promise,
1190
     * or financial contribution. e.g. a sponsor of a Medical Study or a
1191
     * corporate sponsor of an event.
1192
     *
1193
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor
1194
     *
1195
     * @return static
1196
     *
1197
     * @see http://schema.org/sponsor
1198
     */
1199
    public function sponsor($sponsor)
1200
    {
1201
        return $this->setProperty('sponsor', $sponsor);
1202
    }
1203
1204
    /**
1205
     * A relationship between two organizations where the first includes the
1206
     * second, e.g., as a subsidiary. See also: the more specific 'department'
1207
     * property.
1208
     *
1209
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization
1210
     *
1211
     * @return static
1212
     *
1213
     * @see http://schema.org/subOrganization
1214
     */
1215
    public function subOrganization($subOrganization)
1216
    {
1217
        return $this->setProperty('subOrganization', $subOrganization);
1218
    }
1219
1220
    /**
1221
     * A CreativeWork or Event about this Thing.
1222
     *
1223
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
1224
     *
1225
     * @return static
1226
     *
1227
     * @see http://schema.org/subjectOf
1228
     */
1229
    public function subjectOf($subjectOf)
1230
    {
1231
        return $this->setProperty('subjectOf', $subjectOf);
1232
    }
1233
1234
    /**
1235
     * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US
1236
     * or the CIF/NIF in Spain.
1237
     *
1238
     * @param string|string[] $taxID
1239
     *
1240
     * @return static
1241
     *
1242
     * @see http://schema.org/taxID
1243
     */
1244
    public function taxID($taxID)
1245
    {
1246
        return $this->setProperty('taxID', $taxID);
1247
    }
1248
1249
    /**
1250
     * The telephone number.
1251
     *
1252
     * @param string|string[] $telephone
1253
     *
1254
     * @return static
1255
     *
1256
     * @see http://schema.org/telephone
1257
     */
1258
    public function telephone($telephone)
1259
    {
1260
        return $this->setProperty('telephone', $telephone);
1261
    }
1262
1263
    /**
1264
     * URL of the item.
1265
     *
1266
     * @param string|string[] $url
1267
     *
1268
     * @return static
1269
     *
1270
     * @see http://schema.org/url
1271
     */
1272
    public function url($url)
1273
    {
1274
        return $this->setProperty('url', $url);
1275
    }
1276
1277
    /**
1278
     * The Value-added Tax ID of the organization or person.
1279
     *
1280
     * @param string|string[] $vatID
1281
     *
1282
     * @return static
1283
     *
1284
     * @see http://schema.org/vatID
1285
     */
1286
    public function vatID($vatID)
1287
    {
1288
        return $this->setProperty('vatID', $vatID);
1289
    }
1290
1291
}
1292