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