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/SportsEvent.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\SportsEventContract;
6
use \Spatie\SchemaOrg\Contracts\EventContract;
7
use \Spatie\SchemaOrg\Contracts\ThingContract;
8
9
/**
10
 * Event type: Sports event.
11
 *
12
 * @see http://schema.org/SportsEvent
13
 *
14
 */
15 View Code Duplication
class SportsEvent extends BaseType implements SportsEventContract, EventContract, 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
     * The subject matter of the content.
19
     *
20
     * @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $about
21
     *
22
     * @return static
23
     *
24
     * @see http://schema.org/about
25
     */
26
    public function about($about)
27
    {
28
        return $this->setProperty('about', $about);
29
    }
30
31
    /**
32
     * An actor, e.g. in tv, radio, movie, video games etc., or in an event.
33
     * Actors can be associated with individual items or with a series, episode,
34
     * clip.
35
     *
36
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $actor
37
     *
38
     * @return static
39
     *
40
     * @see http://schema.org/actor
41
     */
42
    public function actor($actor)
43
    {
44
        return $this->setProperty('actor', $actor);
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
     * The overall rating, based on a collection of reviews or ratings, of the
68
     * item.
69
     *
70
     * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating
71
     *
72
     * @return static
73
     *
74
     * @see http://schema.org/aggregateRating
75
     */
76
    public function aggregateRating($aggregateRating)
77
    {
78
        return $this->setProperty('aggregateRating', $aggregateRating);
79
    }
80
81
    /**
82
     * An alias for the item.
83
     *
84
     * @param string|string[] $alternateName
85
     *
86
     * @return static
87
     *
88
     * @see http://schema.org/alternateName
89
     */
90
    public function alternateName($alternateName)
91
    {
92
        return $this->setProperty('alternateName', $alternateName);
93
    }
94
95
    /**
96
     * A person or organization attending the event.
97
     *
98
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $attendee
99
     *
100
     * @return static
101
     *
102
     * @see http://schema.org/attendee
103
     */
104
    public function attendee($attendee)
105
    {
106
        return $this->setProperty('attendee', $attendee);
107
    }
108
109
    /**
110
     * A person attending the event.
111
     *
112
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $attendees
113
     *
114
     * @return static
115
     *
116
     * @see http://schema.org/attendees
117
     */
118
    public function attendees($attendees)
119
    {
120
        return $this->setProperty('attendees', $attendees);
121
    }
122
123
    /**
124
     * An intended audience, i.e. a group for whom something was created.
125
     *
126
     * @param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[] $audience
127
     *
128
     * @return static
129
     *
130
     * @see http://schema.org/audience
131
     */
132
    public function audience($audience)
133
    {
134
        return $this->setProperty('audience', $audience);
135
    }
136
137
    /**
138
     * The away team in a sports event.
139
     *
140
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[]|\Spatie\SchemaOrg\Contracts\SportsTeamContract|\Spatie\SchemaOrg\Contracts\SportsTeamContract[] $awayTeam
141
     *
142
     * @return static
143
     *
144
     * @see http://schema.org/awayTeam
145
     */
146
    public function awayTeam($awayTeam)
147
    {
148
        return $this->setProperty('awayTeam', $awayTeam);
149
    }
150
151
    /**
152
     * A competitor in a sports event.
153
     *
154
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[]|\Spatie\SchemaOrg\Contracts\SportsTeamContract|\Spatie\SchemaOrg\Contracts\SportsTeamContract[] $competitor
155
     *
156
     * @return static
157
     *
158
     * @see http://schema.org/competitor
159
     */
160
    public function competitor($competitor)
161
    {
162
        return $this->setProperty('competitor', $competitor);
163
    }
164
165
    /**
166
     * The person or organization who wrote a composition, or who is the
167
     * composer of a work performed at some event.
168
     *
169
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $composer
170
     *
171
     * @return static
172
     *
173
     * @see http://schema.org/composer
174
     */
175
    public function composer($composer)
176
    {
177
        return $this->setProperty('composer', $composer);
178
    }
179
180
    /**
181
     * A secondary contributor to the CreativeWork or Event.
182
     *
183
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $contributor
184
     *
185
     * @return static
186
     *
187
     * @see http://schema.org/contributor
188
     */
189
    public function contributor($contributor)
190
    {
191
        return $this->setProperty('contributor', $contributor);
192
    }
193
194
    /**
195
     * A description of the item.
196
     *
197
     * @param string|string[] $description
198
     *
199
     * @return static
200
     *
201
     * @see http://schema.org/description
202
     */
203
    public function description($description)
204
    {
205
        return $this->setProperty('description', $description);
206
    }
207
208
    /**
209
     * A director of e.g. tv, radio, movie, video gaming etc. content, or of an
210
     * event. Directors can be associated with individual items or with a
211
     * series, episode, clip.
212
     *
213
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $director
214
     *
215
     * @return static
216
     *
217
     * @see http://schema.org/director
218
     */
219
    public function director($director)
220
    {
221
        return $this->setProperty('director', $director);
222
    }
223
224
    /**
225
     * A sub property of description. A short description of the item used to
226
     * disambiguate from other, similar items. Information from other properties
227
     * (in particular, name) may be necessary for the description to be useful
228
     * for disambiguation.
229
     *
230
     * @param string|string[] $disambiguatingDescription
231
     *
232
     * @return static
233
     *
234
     * @see http://schema.org/disambiguatingDescription
235
     */
236
    public function disambiguatingDescription($disambiguatingDescription)
237
    {
238
        return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
239
    }
240
241
    /**
242
     * The time admission will commence.
243
     *
244
     * @param \DateTimeInterface|\DateTimeInterface[] $doorTime
245
     *
246
     * @return static
247
     *
248
     * @see http://schema.org/doorTime
249
     */
250
    public function doorTime($doorTime)
251
    {
252
        return $this->setProperty('doorTime', $doorTime);
253
    }
254
255
    /**
256
     * The duration of the item (movie, audio recording, event, etc.) in [ISO
257
     * 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).
258
     *
259
     * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $duration
260
     *
261
     * @return static
262
     *
263
     * @see http://schema.org/duration
264
     */
265
    public function duration($duration)
266
    {
267
        return $this->setProperty('duration', $duration);
268
    }
269
270
    /**
271
     * The end date and time of the item (in [ISO 8601 date
272
     * format](http://en.wikipedia.org/wiki/ISO_8601)).
273
     *
274
     * @param \DateTimeInterface|\DateTimeInterface[] $endDate
275
     *
276
     * @return static
277
     *
278
     * @see http://schema.org/endDate
279
     */
280
    public function endDate($endDate)
281
    {
282
        return $this->setProperty('endDate', $endDate);
283
    }
284
285
    /**
286
     * An eventStatus of an event represents its status; particularly useful
287
     * when an event is cancelled or rescheduled.
288
     *
289
     * @param \Spatie\SchemaOrg\Contracts\EventStatusTypeContract|\Spatie\SchemaOrg\Contracts\EventStatusTypeContract[] $eventStatus
290
     *
291
     * @return static
292
     *
293
     * @see http://schema.org/eventStatus
294
     */
295
    public function eventStatus($eventStatus)
296
    {
297
        return $this->setProperty('eventStatus', $eventStatus);
298
    }
299
300
    /**
301
     * A person or organization that supports (sponsors) something through some
302
     * kind of financial contribution.
303
     *
304
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder
305
     *
306
     * @return static
307
     *
308
     * @see http://schema.org/funder
309
     */
310
    public function funder($funder)
311
    {
312
        return $this->setProperty('funder', $funder);
313
    }
314
315
    /**
316
     * The home team in a sports event.
317
     *
318
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[]|\Spatie\SchemaOrg\Contracts\SportsTeamContract|\Spatie\SchemaOrg\Contracts\SportsTeamContract[] $homeTeam
319
     *
320
     * @return static
321
     *
322
     * @see http://schema.org/homeTeam
323
     */
324
    public function homeTeam($homeTeam)
325
    {
326
        return $this->setProperty('homeTeam', $homeTeam);
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
     * The language of the content or performance or used in an action. Please
364
     * use one of the language codes from the [IETF BCP 47
365
     * standard](http://tools.ietf.org/html/bcp47). See also
366
     * [[availableLanguage]].
367
     *
368
     * @param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $inLanguage
369
     *
370
     * @return static
371
     *
372
     * @see http://schema.org/inLanguage
373
     */
374
    public function inLanguage($inLanguage)
375
    {
376
        return $this->setProperty('inLanguage', $inLanguage);
377
    }
378
379
    /**
380
     * A flag to signal that the item, event, or place is accessible for free.
381
     *
382
     * @param bool|bool[] $isAccessibleForFree
383
     *
384
     * @return static
385
     *
386
     * @see http://schema.org/isAccessibleForFree
387
     */
388
    public function isAccessibleForFree($isAccessibleForFree)
389
    {
390
        return $this->setProperty('isAccessibleForFree', $isAccessibleForFree);
391
    }
392
393
    /**
394
     * The location of for example where the event is happening, an organization
395
     * is located, or where an action takes place.
396
     *
397
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location
398
     *
399
     * @return static
400
     *
401
     * @see http://schema.org/location
402
     */
403
    public function location($location)
404
    {
405
        return $this->setProperty('location', $location);
406
    }
407
408
    /**
409
     * Indicates a page (or other CreativeWork) for which this thing is the main
410
     * entity being described. See [background
411
     * notes](/docs/datamodel.html#mainEntityBackground) for details.
412
     *
413
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
414
     *
415
     * @return static
416
     *
417
     * @see http://schema.org/mainEntityOfPage
418
     */
419
    public function mainEntityOfPage($mainEntityOfPage)
420
    {
421
        return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
422
    }
423
424
    /**
425
     * The total number of individuals that may attend an event or venue.
426
     *
427
     * @param int|int[] $maximumAttendeeCapacity
428
     *
429
     * @return static
430
     *
431
     * @see http://schema.org/maximumAttendeeCapacity
432
     */
433
    public function maximumAttendeeCapacity($maximumAttendeeCapacity)
434
    {
435
        return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity);
436
    }
437
438
    /**
439
     * The name of the item.
440
     *
441
     * @param string|string[] $name
442
     *
443
     * @return static
444
     *
445
     * @see http://schema.org/name
446
     */
447
    public function name($name)
448
    {
449
        return $this->setProperty('name', $name);
450
    }
451
452
    /**
453
     * An offer to provide this item&#x2014;for example, an offer to sell a
454
     * product, rent the DVD of a movie, perform a service, or give away tickets
455
     * to an event. Use [[businessFunction]] to indicate the kind of transaction
456
     * offered, i.e. sell, lease, etc. This property can also be used to
457
     * describe a [[Demand]]. While this property is listed as expected on a
458
     * number of common types, it can be used in others. In that case, using a
459
     * second type, such as Product or a subtype of Product, can clarify the
460
     * nature of the offer.
461
     *
462
     * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[]|\Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $offers
463
     *
464
     * @return static
465
     *
466
     * @see http://schema.org/offers
467
     */
468
    public function offers($offers)
469
    {
470
        return $this->setProperty('offers', $offers);
471
    }
472
473
    /**
474
     * An organizer of an Event.
475
     *
476
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $organizer
477
     *
478
     * @return static
479
     *
480
     * @see http://schema.org/organizer
481
     */
482
    public function organizer($organizer)
483
    {
484
        return $this->setProperty('organizer', $organizer);
485
    }
486
487
    /**
488
     * A performer at the event&#x2014;for example, a presenter, musician,
489
     * musical group or actor.
490
     *
491
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $performer
492
     *
493
     * @return static
494
     *
495
     * @see http://schema.org/performer
496
     */
497
    public function performer($performer)
498
    {
499
        return $this->setProperty('performer', $performer);
500
    }
501
502
    /**
503
     * The main performer or performers of the event&#x2014;for example, a
504
     * presenter, musician, or actor.
505
     *
506
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $performers
507
     *
508
     * @return static
509
     *
510
     * @see http://schema.org/performers
511
     */
512
    public function performers($performers)
513
    {
514
        return $this->setProperty('performers', $performers);
515
    }
516
517
    /**
518
     * Indicates a potential Action, which describes an idealized action in
519
     * which this thing would play an 'object' role.
520
     *
521
     * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
522
     *
523
     * @return static
524
     *
525
     * @see http://schema.org/potentialAction
526
     */
527
    public function potentialAction($potentialAction)
528
    {
529
        return $this->setProperty('potentialAction', $potentialAction);
530
    }
531
532
    /**
533
     * Used in conjunction with eventStatus for rescheduled or cancelled events.
534
     * This property contains the previously scheduled start date. For
535
     * rescheduled events, the startDate property should be used for the newly
536
     * scheduled start date. In the (rare) case of an event that has been
537
     * postponed and rescheduled multiple times, this field may be repeated.
538
     *
539
     * @param \DateTimeInterface|\DateTimeInterface[] $previousStartDate
540
     *
541
     * @return static
542
     *
543
     * @see http://schema.org/previousStartDate
544
     */
545
    public function previousStartDate($previousStartDate)
546
    {
547
        return $this->setProperty('previousStartDate', $previousStartDate);
548
    }
549
550
    /**
551
     * The CreativeWork that captured all or part of this Event.
552
     *
553
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $recordedIn
554
     *
555
     * @return static
556
     *
557
     * @see http://schema.org/recordedIn
558
     */
559
    public function recordedIn($recordedIn)
560
    {
561
        return $this->setProperty('recordedIn', $recordedIn);
562
    }
563
564
    /**
565
     * The number of attendee places for an event that remain unallocated.
566
     *
567
     * @param int|int[] $remainingAttendeeCapacity
568
     *
569
     * @return static
570
     *
571
     * @see http://schema.org/remainingAttendeeCapacity
572
     */
573
    public function remainingAttendeeCapacity($remainingAttendeeCapacity)
574
    {
575
        return $this->setProperty('remainingAttendeeCapacity', $remainingAttendeeCapacity);
576
    }
577
578
    /**
579
     * A review of the item.
580
     *
581
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review
582
     *
583
     * @return static
584
     *
585
     * @see http://schema.org/review
586
     */
587
    public function review($review)
588
    {
589
        return $this->setProperty('review', $review);
590
    }
591
592
    /**
593
     * URL of a reference Web page that unambiguously indicates the item's
594
     * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
595
     * official website.
596
     *
597
     * @param string|string[] $sameAs
598
     *
599
     * @return static
600
     *
601
     * @see http://schema.org/sameAs
602
     */
603
    public function sameAs($sameAs)
604
    {
605
        return $this->setProperty('sameAs', $sameAs);
606
    }
607
608
    /**
609
     * A person or organization that supports a thing through a pledge, promise,
610
     * or financial contribution. e.g. a sponsor of a Medical Study or a
611
     * corporate sponsor of an event.
612
     *
613
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor
614
     *
615
     * @return static
616
     *
617
     * @see http://schema.org/sponsor
618
     */
619
    public function sponsor($sponsor)
620
    {
621
        return $this->setProperty('sponsor', $sponsor);
622
    }
623
624
    /**
625
     * The start date and time of the item (in [ISO 8601 date
626
     * format](http://en.wikipedia.org/wiki/ISO_8601)).
627
     *
628
     * @param \DateTimeInterface|\DateTimeInterface[] $startDate
629
     *
630
     * @return static
631
     *
632
     * @see http://schema.org/startDate
633
     */
634
    public function startDate($startDate)
635
    {
636
        return $this->setProperty('startDate', $startDate);
637
    }
638
639
    /**
640
     * An Event that is part of this event. For example, a conference event
641
     * includes many presentations, each of which is a subEvent of the
642
     * conference.
643
     *
644
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subEvent
645
     *
646
     * @return static
647
     *
648
     * @see http://schema.org/subEvent
649
     */
650
    public function subEvent($subEvent)
651
    {
652
        return $this->setProperty('subEvent', $subEvent);
653
    }
654
655
    /**
656
     * Events that are a part of this event. For example, a conference event
657
     * includes many presentations, each subEvents of the conference.
658
     *
659
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subEvents
660
     *
661
     * @return static
662
     *
663
     * @see http://schema.org/subEvents
664
     */
665
    public function subEvents($subEvents)
666
    {
667
        return $this->setProperty('subEvents', $subEvents);
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
     * An event that this event is a part of. For example, a collection of
686
     * individual music performances might each have a music festival as their
687
     * superEvent.
688
     *
689
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $superEvent
690
     *
691
     * @return static
692
     *
693
     * @see http://schema.org/superEvent
694
     */
695
    public function superEvent($superEvent)
696
    {
697
        return $this->setProperty('superEvent', $superEvent);
698
    }
699
700
    /**
701
     * Organization or person who adapts a creative work to different languages,
702
     * regional differences and technical requirements of a target market, or
703
     * that translates during some event.
704
     *
705
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $translator
706
     *
707
     * @return static
708
     *
709
     * @see http://schema.org/translator
710
     */
711
    public function translator($translator)
712
    {
713
        return $this->setProperty('translator', $translator);
714
    }
715
716
    /**
717
     * The typical expected age range, e.g. '7-9', '11-'.
718
     *
719
     * @param string|string[] $typicalAgeRange
720
     *
721
     * @return static
722
     *
723
     * @see http://schema.org/typicalAgeRange
724
     */
725
    public function typicalAgeRange($typicalAgeRange)
726
    {
727
        return $this->setProperty('typicalAgeRange', $typicalAgeRange);
728
    }
729
730
    /**
731
     * URL of the item.
732
     *
733
     * @param string|string[] $url
734
     *
735
     * @return static
736
     *
737
     * @see http://schema.org/url
738
     */
739
    public function url($url)
740
    {
741
        return $this->setProperty('url', $url);
742
    }
743
744
    /**
745
     * A work featured in some event, e.g. exhibited in an ExhibitionEvent.
746
     *        Specific subproperties are available for workPerformed (e.g. a
747
     * play), or a workPresented (a Movie at a ScreeningEvent).
748
     *
749
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workFeatured
750
     *
751
     * @return static
752
     *
753
     * @see http://schema.org/workFeatured
754
     */
755
    public function workFeatured($workFeatured)
756
    {
757
        return $this->setProperty('workFeatured', $workFeatured);
758
    }
759
760
    /**
761
     * A work performed in some event, for example a play performed in a
762
     * TheaterEvent.
763
     *
764
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workPerformed
765
     *
766
     * @return static
767
     *
768
     * @see http://schema.org/workPerformed
769
     */
770
    public function workPerformed($workPerformed)
771
    {
772
        return $this->setProperty('workPerformed', $workPerformed);
773
    }
774
775
}
776