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/Airport.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\AirportContract;
6
use \Spatie\SchemaOrg\Contracts\CivicStructureContract;
7
use \Spatie\SchemaOrg\Contracts\PlaceContract;
8
use \Spatie\SchemaOrg\Contracts\ThingContract;
9
10
/**
11
 * An airport.
12
 *
13
 * @see http://schema.org/Airport
14
 *
15
 */
16 View Code Duplication
class Airport extends BaseType implements AirportContract, CivicStructureContract, 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...
17
{
18
    /**
19
     * A property-value pair representing an additional characteristics of the
20
     * entitity, e.g. a product feature or another characteristic for which
21
     * there is no matching property in schema.org.
22
     * 
23
     * Note: Publishers should be aware that applications designed to use
24
     * specific schema.org properties (e.g. http://schema.org/width,
25
     * http://schema.org/color, http://schema.org/gtin13, ...) will typically
26
     * expect such data to be provided using those properties, rather than using
27
     * the generic property/value mechanism.
28
     *
29
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty
30
     *
31
     * @return static
32
     *
33
     * @see http://schema.org/additionalProperty
34
     */
35
    public function additionalProperty($additionalProperty)
36
    {
37
        return $this->setProperty('additionalProperty', $additionalProperty);
38
    }
39
40
    /**
41
     * An additional type for the item, typically used for adding more specific
42
     * types from external vocabularies in microdata syntax. This is a
43
     * relationship between something and a class that the thing is in. In RDFa
44
     * syntax, it is better to use the native RDFa syntax - the 'typeof'
45
     * attribute - for multiple types. Schema.org tools may have only weaker
46
     * understanding of extra types, in particular those defined externally.
47
     *
48
     * @param string|string[] $additionalType
49
     *
50
     * @return static
51
     *
52
     * @see http://schema.org/additionalType
53
     */
54
    public function additionalType($additionalType)
55
    {
56
        return $this->setProperty('additionalType', $additionalType);
57
    }
58
59
    /**
60
     * Physical address of the item.
61
     *
62
     * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address
63
     *
64
     * @return static
65
     *
66
     * @see http://schema.org/address
67
     */
68
    public function address($address)
69
    {
70
        return $this->setProperty('address', $address);
71
    }
72
73
    /**
74
     * The overall rating, based on a collection of reviews or ratings, of the
75
     * item.
76
     *
77
     * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating
78
     *
79
     * @return static
80
     *
81
     * @see http://schema.org/aggregateRating
82
     */
83
    public function aggregateRating($aggregateRating)
84
    {
85
        return $this->setProperty('aggregateRating', $aggregateRating);
86
    }
87
88
    /**
89
     * An alias for the item.
90
     *
91
     * @param string|string[] $alternateName
92
     *
93
     * @return static
94
     *
95
     * @see http://schema.org/alternateName
96
     */
97
    public function alternateName($alternateName)
98
    {
99
        return $this->setProperty('alternateName', $alternateName);
100
    }
101
102
    /**
103
     * An amenity feature (e.g. a characteristic or service) of the
104
     * Accommodation. This generic property does not make a statement about
105
     * whether the feature is included in an offer for the main accommodation or
106
     * available at extra costs.
107
     *
108
     * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature
109
     *
110
     * @return static
111
     *
112
     * @see http://schema.org/amenityFeature
113
     */
114
    public function amenityFeature($amenityFeature)
115
    {
116
        return $this->setProperty('amenityFeature', $amenityFeature);
117
    }
118
119
    /**
120
     * A short textual code (also called "store code") that uniquely identifies
121
     * a place of business. The code is typically assigned by the
122
     * parentOrganization and used in structured URLs.
123
     * 
124
     * For example, in the URL
125
     * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047"
126
     * is a branchCode for a particular branch.
127
     *
128
     * @param string|string[] $branchCode
129
     *
130
     * @return static
131
     *
132
     * @see http://schema.org/branchCode
133
     */
134
    public function branchCode($branchCode)
135
    {
136
        return $this->setProperty('branchCode', $branchCode);
137
    }
138
139
    /**
140
     * The basic containment relation between a place and one that contains it.
141
     *
142
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn
143
     *
144
     * @return static
145
     *
146
     * @see http://schema.org/containedIn
147
     */
148
    public function containedIn($containedIn)
149
    {
150
        return $this->setProperty('containedIn', $containedIn);
151
    }
152
153
    /**
154
     * The basic containment relation between a place and one that contains it.
155
     *
156
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace
157
     *
158
     * @return static
159
     *
160
     * @see http://schema.org/containedInPlace
161
     */
162
    public function containedInPlace($containedInPlace)
163
    {
164
        return $this->setProperty('containedInPlace', $containedInPlace);
165
    }
166
167
    /**
168
     * The basic containment relation between a place and another that it
169
     * contains.
170
     *
171
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace
172
     *
173
     * @return static
174
     *
175
     * @see http://schema.org/containsPlace
176
     */
177
    public function containsPlace($containsPlace)
178
    {
179
        return $this->setProperty('containsPlace', $containsPlace);
180
    }
181
182
    /**
183
     * A description of the item.
184
     *
185
     * @param string|string[] $description
186
     *
187
     * @return static
188
     *
189
     * @see http://schema.org/description
190
     */
191
    public function description($description)
192
    {
193
        return $this->setProperty('description', $description);
194
    }
195
196
    /**
197
     * A sub property of description. A short description of the item used to
198
     * disambiguate from other, similar items. Information from other properties
199
     * (in particular, name) may be necessary for the description to be useful
200
     * for disambiguation.
201
     *
202
     * @param string|string[] $disambiguatingDescription
203
     *
204
     * @return static
205
     *
206
     * @see http://schema.org/disambiguatingDescription
207
     */
208
    public function disambiguatingDescription($disambiguatingDescription)
209
    {
210
        return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
211
    }
212
213
    /**
214
     * Upcoming or past event associated with this place, organization, or
215
     * action.
216
     *
217
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event
218
     *
219
     * @return static
220
     *
221
     * @see http://schema.org/event
222
     */
223
    public function event($event)
224
    {
225
        return $this->setProperty('event', $event);
226
    }
227
228
    /**
229
     * Upcoming or past events associated with this place or organization.
230
     *
231
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events
232
     *
233
     * @return static
234
     *
235
     * @see http://schema.org/events
236
     */
237
    public function events($events)
238
    {
239
        return $this->setProperty('events', $events);
240
    }
241
242
    /**
243
     * The fax number.
244
     *
245
     * @param string|string[] $faxNumber
246
     *
247
     * @return static
248
     *
249
     * @see http://schema.org/faxNumber
250
     */
251
    public function faxNumber($faxNumber)
252
    {
253
        return $this->setProperty('faxNumber', $faxNumber);
254
    }
255
256
    /**
257
     * The geo coordinates of the place.
258
     *
259
     * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo
260
     *
261
     * @return static
262
     *
263
     * @see http://schema.org/geo
264
     */
265
    public function geo($geo)
266
    {
267
        return $this->setProperty('geo', $geo);
268
    }
269
270
    /**
271
     * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also
272
     * referred to as International Location Number or ILN) of the respective
273
     * organization, person, or place. The GLN is a 13-digit number used to
274
     * identify parties and physical locations.
275
     *
276
     * @param string|string[] $globalLocationNumber
277
     *
278
     * @return static
279
     *
280
     * @see http://schema.org/globalLocationNumber
281
     */
282
    public function globalLocationNumber($globalLocationNumber)
283
    {
284
        return $this->setProperty('globalLocationNumber', $globalLocationNumber);
285
    }
286
287
    /**
288
     * A URL to a map of the place.
289
     *
290
     * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap
291
     *
292
     * @return static
293
     *
294
     * @see http://schema.org/hasMap
295
     */
296
    public function hasMap($hasMap)
297
    {
298
        return $this->setProperty('hasMap', $hasMap);
299
    }
300
301
    /**
302
     * IATA identifier for an airline or airport.
303
     *
304
     * @param string|string[] $iataCode
305
     *
306
     * @return static
307
     *
308
     * @see http://schema.org/iataCode
309
     */
310
    public function iataCode($iataCode)
311
    {
312
        return $this->setProperty('iataCode', $iataCode);
313
    }
314
315
    /**
316
     * ICAO identifier for an airport.
317
     *
318
     * @param string|string[] $icaoCode
319
     *
320
     * @return static
321
     *
322
     * @see http://schema.org/icaoCode
323
     */
324
    public function icaoCode($icaoCode)
325
    {
326
        return $this->setProperty('icaoCode', $icaoCode);
327
    }
328
329
    /**
330
     * The identifier property represents any kind of identifier for any kind of
331
     * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
332
     * dedicated properties for representing many of these, either as textual
333
     * strings or as URL (URI) links. See [background
334
     * notes](/docs/datamodel.html#identifierBg) for more details.
335
     *
336
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
337
     *
338
     * @return static
339
     *
340
     * @see http://schema.org/identifier
341
     */
342
    public function identifier($identifier)
343
    {
344
        return $this->setProperty('identifier', $identifier);
345
    }
346
347
    /**
348
     * An image of the item. This can be a [[URL]] or a fully described
349
     * [[ImageObject]].
350
     *
351
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
352
     *
353
     * @return static
354
     *
355
     * @see http://schema.org/image
356
     */
357
    public function image($image)
358
    {
359
        return $this->setProperty('image', $image);
360
    }
361
362
    /**
363
     * A flag to signal that the item, event, or place is accessible for free.
364
     *
365
     * @param bool|bool[] $isAccessibleForFree
366
     *
367
     * @return static
368
     *
369
     * @see http://schema.org/isAccessibleForFree
370
     */
371
    public function isAccessibleForFree($isAccessibleForFree)
372
    {
373
        return $this->setProperty('isAccessibleForFree', $isAccessibleForFree);
374
    }
375
376
    /**
377
     * The International Standard of Industrial Classification of All Economic
378
     * Activities (ISIC), Revision 4 code for a particular organization,
379
     * business person, or place.
380
     *
381
     * @param string|string[] $isicV4
382
     *
383
     * @return static
384
     *
385
     * @see http://schema.org/isicV4
386
     */
387
    public function isicV4($isicV4)
388
    {
389
        return $this->setProperty('isicV4', $isicV4);
390
    }
391
392
    /**
393
     * The latitude of a location. For example ```37.42242``` ([WGS
394
     * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).
395
     *
396
     * @param float|float[]|int|int[]|string|string[] $latitude
397
     *
398
     * @return static
399
     *
400
     * @see http://schema.org/latitude
401
     */
402
    public function latitude($latitude)
403
    {
404
        return $this->setProperty('latitude', $latitude);
405
    }
406
407
    /**
408
     * An associated logo.
409
     *
410
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo
411
     *
412
     * @return static
413
     *
414
     * @see http://schema.org/logo
415
     */
416
    public function logo($logo)
417
    {
418
        return $this->setProperty('logo', $logo);
419
    }
420
421
    /**
422
     * The longitude of a location. For example ```-122.08585``` ([WGS
423
     * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).
424
     *
425
     * @param float|float[]|int|int[]|string|string[] $longitude
426
     *
427
     * @return static
428
     *
429
     * @see http://schema.org/longitude
430
     */
431
    public function longitude($longitude)
432
    {
433
        return $this->setProperty('longitude', $longitude);
434
    }
435
436
    /**
437
     * Indicates a page (or other CreativeWork) for which this thing is the main
438
     * entity being described. See [background
439
     * notes](/docs/datamodel.html#mainEntityBackground) for details.
440
     *
441
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
442
     *
443
     * @return static
444
     *
445
     * @see http://schema.org/mainEntityOfPage
446
     */
447
    public function mainEntityOfPage($mainEntityOfPage)
448
    {
449
        return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
450
    }
451
452
    /**
453
     * A URL to a map of the place.
454
     *
455
     * @param string|string[] $map
456
     *
457
     * @return static
458
     *
459
     * @see http://schema.org/map
460
     */
461
    public function map($map)
462
    {
463
        return $this->setProperty('map', $map);
464
    }
465
466
    /**
467
     * A URL to a map of the place.
468
     *
469
     * @param string|string[] $maps
470
     *
471
     * @return static
472
     *
473
     * @see http://schema.org/maps
474
     */
475
    public function maps($maps)
476
    {
477
        return $this->setProperty('maps', $maps);
478
    }
479
480
    /**
481
     * The total number of individuals that may attend an event or venue.
482
     *
483
     * @param int|int[] $maximumAttendeeCapacity
484
     *
485
     * @return static
486
     *
487
     * @see http://schema.org/maximumAttendeeCapacity
488
     */
489
    public function maximumAttendeeCapacity($maximumAttendeeCapacity)
490
    {
491
        return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity);
492
    }
493
494
    /**
495
     * The name of the item.
496
     *
497
     * @param string|string[] $name
498
     *
499
     * @return static
500
     *
501
     * @see http://schema.org/name
502
     */
503
    public function name($name)
504
    {
505
        return $this->setProperty('name', $name);
506
    }
507
508
    /**
509
     * The general opening hours for a business. Opening hours can be specified
510
     * as a weekly time range, starting with days, then times per day. Multiple
511
     * days can be listed with commas ',' separating each day. Day or time
512
     * ranges are specified using a hyphen '-'.
513
     * 
514
     * * Days are specified using the following two-letter combinations:
515
     * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```.
516
     * * Times are specified using 24:00 time. For example, 3pm is specified as
517
     * ```15:00```. 
518
     * * Here is an example: <code>&lt;time itemprop="openingHours"
519
     * datetime=&quot;Tu,Th 16:00-20:00&quot;&gt;Tuesdays and Thursdays
520
     * 4-8pm&lt;/time&gt;</code>.
521
     * * If a business is open 7 days a week, then it can be specified as
522
     * <code>&lt;time itemprop=&quot;openingHours&quot;
523
     * datetime=&quot;Mo-Su&quot;&gt;Monday through Sunday, all
524
     * day&lt;/time&gt;</code>.
525
     *
526
     * @param string|string[] $openingHours
527
     *
528
     * @return static
529
     *
530
     * @see http://schema.org/openingHours
531
     */
532
    public function openingHours($openingHours)
533
    {
534
        return $this->setProperty('openingHours', $openingHours);
535
    }
536
537
    /**
538
     * The opening hours of a certain place.
539
     *
540
     * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification
541
     *
542
     * @return static
543
     *
544
     * @see http://schema.org/openingHoursSpecification
545
     */
546
    public function openingHoursSpecification($openingHoursSpecification)
547
    {
548
        return $this->setProperty('openingHoursSpecification', $openingHoursSpecification);
549
    }
550
551
    /**
552
     * A photograph of this place.
553
     *
554
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo
555
     *
556
     * @return static
557
     *
558
     * @see http://schema.org/photo
559
     */
560
    public function photo($photo)
561
    {
562
        return $this->setProperty('photo', $photo);
563
    }
564
565
    /**
566
     * Photographs of this place.
567
     *
568
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos
569
     *
570
     * @return static
571
     *
572
     * @see http://schema.org/photos
573
     */
574
    public function photos($photos)
575
    {
576
        return $this->setProperty('photos', $photos);
577
    }
578
579
    /**
580
     * Indicates a potential Action, which describes an idealized action in
581
     * which this thing would play an 'object' role.
582
     *
583
     * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
584
     *
585
     * @return static
586
     *
587
     * @see http://schema.org/potentialAction
588
     */
589
    public function potentialAction($potentialAction)
590
    {
591
        return $this->setProperty('potentialAction', $potentialAction);
592
    }
593
594
    /**
595
     * A flag to signal that the [[Place]] is open to public visitors.  If this
596
     * property is omitted there is no assumed default boolean value
597
     *
598
     * @param bool|bool[] $publicAccess
599
     *
600
     * @return static
601
     *
602
     * @see http://schema.org/publicAccess
603
     */
604
    public function publicAccess($publicAccess)
605
    {
606
        return $this->setProperty('publicAccess', $publicAccess);
607
    }
608
609
    /**
610
     * A review of the item.
611
     *
612
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review
613
     *
614
     * @return static
615
     *
616
     * @see http://schema.org/review
617
     */
618
    public function review($review)
619
    {
620
        return $this->setProperty('review', $review);
621
    }
622
623
    /**
624
     * Review of the item.
625
     *
626
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews
627
     *
628
     * @return static
629
     *
630
     * @see http://schema.org/reviews
631
     */
632
    public function reviews($reviews)
633
    {
634
        return $this->setProperty('reviews', $reviews);
635
    }
636
637
    /**
638
     * URL of a reference Web page that unambiguously indicates the item's
639
     * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
640
     * official website.
641
     *
642
     * @param string|string[] $sameAs
643
     *
644
     * @return static
645
     *
646
     * @see http://schema.org/sameAs
647
     */
648
    public function sameAs($sameAs)
649
    {
650
        return $this->setProperty('sameAs', $sameAs);
651
    }
652
653
    /**
654
     * A slogan or motto associated with the item.
655
     *
656
     * @param string|string[] $slogan
657
     *
658
     * @return static
659
     *
660
     * @see http://schema.org/slogan
661
     */
662
    public function slogan($slogan)
663
    {
664
        return $this->setProperty('slogan', $slogan);
665
    }
666
667
    /**
668
     * Indicates whether it is allowed to smoke in the place, e.g. in the
669
     * restaurant, hotel or hotel room.
670
     *
671
     * @param bool|bool[] $smokingAllowed
672
     *
673
     * @return static
674
     *
675
     * @see http://schema.org/smokingAllowed
676
     */
677
    public function smokingAllowed($smokingAllowed)
678
    {
679
        return $this->setProperty('smokingAllowed', $smokingAllowed);
680
    }
681
682
    /**
683
     * The special opening hours of a certain place.
684
     * 
685
     * Use this to explicitly override general opening hours brought in scope by
686
     * [[openingHoursSpecification]] or [[openingHours]].
687
     *
688
     * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification
689
     *
690
     * @return static
691
     *
692
     * @see http://schema.org/specialOpeningHoursSpecification
693
     */
694
    public function specialOpeningHoursSpecification($specialOpeningHoursSpecification)
695
    {
696
        return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification);
697
    }
698
699
    /**
700
     * A CreativeWork or Event about this Thing.
701
     *
702
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
703
     *
704
     * @return static
705
     *
706
     * @see http://schema.org/subjectOf
707
     */
708
    public function subjectOf($subjectOf)
709
    {
710
        return $this->setProperty('subjectOf', $subjectOf);
711
    }
712
713
    /**
714
     * The telephone number.
715
     *
716
     * @param string|string[] $telephone
717
     *
718
     * @return static
719
     *
720
     * @see http://schema.org/telephone
721
     */
722
    public function telephone($telephone)
723
    {
724
        return $this->setProperty('telephone', $telephone);
725
    }
726
727
    /**
728
     * URL of the item.
729
     *
730
     * @param string|string[] $url
731
     *
732
     * @return static
733
     *
734
     * @see http://schema.org/url
735
     */
736
    public function url($url)
737
    {
738
        return $this->setProperty('url', $url);
739
    }
740
741
}
742