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