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