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/Church.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\ChurchContract;
6
use \Spatie\SchemaOrg\Contracts\CivicStructureContract;
7
use \Spatie\SchemaOrg\Contracts\PlaceContract;
8
use \Spatie\SchemaOrg\Contracts\PlaceOfWorshipContract;
9
use \Spatie\SchemaOrg\Contracts\ThingContract;
10
11
/**
12
 * A church.
13
 *
14
 * @see http://schema.org/Church
15
 *
16
 */
17 View Code Duplication
class Church extends BaseType implements ChurchContract, CivicStructureContract, PlaceContract, PlaceOfWorshipContract, ThingContract
0 ignored issues
show
This class seems to be duplicated in your project.

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

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

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