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/BusinessEvent.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\BusinessEventContract;
6
use \Spatie\SchemaOrg\Contracts\EventContract;
7
use \Spatie\SchemaOrg\Contracts\ThingContract;
8
9
/**
10
 * Event type: Business event.
11
 *
12
 * @see http://schema.org/BusinessEvent
13
 *
14
 */
15 View Code Duplication
class BusinessEvent extends BaseType implements BusinessEventContract, 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 person or organization who wrote a composition, or who is the
139
     * composer of a work performed at some event.
140
     *
141
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $composer
142
     *
143
     * @return static
144
     *
145
     * @see http://schema.org/composer
146
     */
147
    public function composer($composer)
148
    {
149
        return $this->setProperty('composer', $composer);
150
    }
151
152
    /**
153
     * A secondary contributor to the CreativeWork or Event.
154
     *
155
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $contributor
156
     *
157
     * @return static
158
     *
159
     * @see http://schema.org/contributor
160
     */
161
    public function contributor($contributor)
162
    {
163
        return $this->setProperty('contributor', $contributor);
164
    }
165
166
    /**
167
     * A description of the item.
168
     *
169
     * @param string|string[] $description
170
     *
171
     * @return static
172
     *
173
     * @see http://schema.org/description
174
     */
175
    public function description($description)
176
    {
177
        return $this->setProperty('description', $description);
178
    }
179
180
    /**
181
     * A director of e.g. tv, radio, movie, video gaming etc. content, or of an
182
     * event. Directors can be associated with individual items or with a
183
     * series, episode, clip.
184
     *
185
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $director
186
     *
187
     * @return static
188
     *
189
     * @see http://schema.org/director
190
     */
191
    public function director($director)
192
    {
193
        return $this->setProperty('director', $director);
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
     * The time admission will commence.
215
     *
216
     * @param \DateTimeInterface|\DateTimeInterface[] $doorTime
217
     *
218
     * @return static
219
     *
220
     * @see http://schema.org/doorTime
221
     */
222
    public function doorTime($doorTime)
223
    {
224
        return $this->setProperty('doorTime', $doorTime);
225
    }
226
227
    /**
228
     * The duration of the item (movie, audio recording, event, etc.) in [ISO
229
     * 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).
230
     *
231
     * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $duration
232
     *
233
     * @return static
234
     *
235
     * @see http://schema.org/duration
236
     */
237
    public function duration($duration)
238
    {
239
        return $this->setProperty('duration', $duration);
240
    }
241
242
    /**
243
     * The end date and time of the item (in [ISO 8601 date
244
     * format](http://en.wikipedia.org/wiki/ISO_8601)).
245
     *
246
     * @param \DateTimeInterface|\DateTimeInterface[] $endDate
247
     *
248
     * @return static
249
     *
250
     * @see http://schema.org/endDate
251
     */
252
    public function endDate($endDate)
253
    {
254
        return $this->setProperty('endDate', $endDate);
255
    }
256
257
    /**
258
     * An eventStatus of an event represents its status; particularly useful
259
     * when an event is cancelled or rescheduled.
260
     *
261
     * @param \Spatie\SchemaOrg\Contracts\EventStatusTypeContract|\Spatie\SchemaOrg\Contracts\EventStatusTypeContract[] $eventStatus
262
     *
263
     * @return static
264
     *
265
     * @see http://schema.org/eventStatus
266
     */
267
    public function eventStatus($eventStatus)
268
    {
269
        return $this->setProperty('eventStatus', $eventStatus);
270
    }
271
272
    /**
273
     * A person or organization that supports (sponsors) something through some
274
     * kind of financial contribution.
275
     *
276
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder
277
     *
278
     * @return static
279
     *
280
     * @see http://schema.org/funder
281
     */
282
    public function funder($funder)
283
    {
284
        return $this->setProperty('funder', $funder);
285
    }
286
287
    /**
288
     * The identifier property represents any kind of identifier for any kind of
289
     * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
290
     * dedicated properties for representing many of these, either as textual
291
     * strings or as URL (URI) links. See [background
292
     * notes](/docs/datamodel.html#identifierBg) for more details.
293
     *
294
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
295
     *
296
     * @return static
297
     *
298
     * @see http://schema.org/identifier
299
     */
300
    public function identifier($identifier)
301
    {
302
        return $this->setProperty('identifier', $identifier);
303
    }
304
305
    /**
306
     * An image of the item. This can be a [[URL]] or a fully described
307
     * [[ImageObject]].
308
     *
309
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
310
     *
311
     * @return static
312
     *
313
     * @see http://schema.org/image
314
     */
315
    public function image($image)
316
    {
317
        return $this->setProperty('image', $image);
318
    }
319
320
    /**
321
     * The language of the content or performance or used in an action. Please
322
     * use one of the language codes from the [IETF BCP 47
323
     * standard](http://tools.ietf.org/html/bcp47). See also
324
     * [[availableLanguage]].
325
     *
326
     * @param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $inLanguage
327
     *
328
     * @return static
329
     *
330
     * @see http://schema.org/inLanguage
331
     */
332
    public function inLanguage($inLanguage)
333
    {
334
        return $this->setProperty('inLanguage', $inLanguage);
335
    }
336
337
    /**
338
     * A flag to signal that the item, event, or place is accessible for free.
339
     *
340
     * @param bool|bool[] $isAccessibleForFree
341
     *
342
     * @return static
343
     *
344
     * @see http://schema.org/isAccessibleForFree
345
     */
346
    public function isAccessibleForFree($isAccessibleForFree)
347
    {
348
        return $this->setProperty('isAccessibleForFree', $isAccessibleForFree);
349
    }
350
351
    /**
352
     * The location of for example where the event is happening, an organization
353
     * is located, or where an action takes place.
354
     *
355
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location
356
     *
357
     * @return static
358
     *
359
     * @see http://schema.org/location
360
     */
361
    public function location($location)
362
    {
363
        return $this->setProperty('location', $location);
364
    }
365
366
    /**
367
     * Indicates a page (or other CreativeWork) for which this thing is the main
368
     * entity being described. See [background
369
     * notes](/docs/datamodel.html#mainEntityBackground) for details.
370
     *
371
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
372
     *
373
     * @return static
374
     *
375
     * @see http://schema.org/mainEntityOfPage
376
     */
377
    public function mainEntityOfPage($mainEntityOfPage)
378
    {
379
        return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
380
    }
381
382
    /**
383
     * The total number of individuals that may attend an event or venue.
384
     *
385
     * @param int|int[] $maximumAttendeeCapacity
386
     *
387
     * @return static
388
     *
389
     * @see http://schema.org/maximumAttendeeCapacity
390
     */
391
    public function maximumAttendeeCapacity($maximumAttendeeCapacity)
392
    {
393
        return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity);
394
    }
395
396
    /**
397
     * The name of the item.
398
     *
399
     * @param string|string[] $name
400
     *
401
     * @return static
402
     *
403
     * @see http://schema.org/name
404
     */
405
    public function name($name)
406
    {
407
        return $this->setProperty('name', $name);
408
    }
409
410
    /**
411
     * An offer to provide this item&#x2014;for example, an offer to sell a
412
     * product, rent the DVD of a movie, perform a service, or give away tickets
413
     * to an event. Use [[businessFunction]] to indicate the kind of transaction
414
     * offered, i.e. sell, lease, etc. This property can also be used to
415
     * describe a [[Demand]]. While this property is listed as expected on a
416
     * number of common types, it can be used in others. In that case, using a
417
     * second type, such as Product or a subtype of Product, can clarify the
418
     * nature of the offer.
419
     *
420
     * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[]|\Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $offers
421
     *
422
     * @return static
423
     *
424
     * @see http://schema.org/offers
425
     */
426
    public function offers($offers)
427
    {
428
        return $this->setProperty('offers', $offers);
429
    }
430
431
    /**
432
     * An organizer of an Event.
433
     *
434
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $organizer
435
     *
436
     * @return static
437
     *
438
     * @see http://schema.org/organizer
439
     */
440
    public function organizer($organizer)
441
    {
442
        return $this->setProperty('organizer', $organizer);
443
    }
444
445
    /**
446
     * A performer at the event&#x2014;for example, a presenter, musician,
447
     * musical group or actor.
448
     *
449
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $performer
450
     *
451
     * @return static
452
     *
453
     * @see http://schema.org/performer
454
     */
455
    public function performer($performer)
456
    {
457
        return $this->setProperty('performer', $performer);
458
    }
459
460
    /**
461
     * The main performer or performers of the event&#x2014;for example, a
462
     * presenter, musician, or actor.
463
     *
464
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $performers
465
     *
466
     * @return static
467
     *
468
     * @see http://schema.org/performers
469
     */
470
    public function performers($performers)
471
    {
472
        return $this->setProperty('performers', $performers);
473
    }
474
475
    /**
476
     * Indicates a potential Action, which describes an idealized action in
477
     * which this thing would play an 'object' role.
478
     *
479
     * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
480
     *
481
     * @return static
482
     *
483
     * @see http://schema.org/potentialAction
484
     */
485
    public function potentialAction($potentialAction)
486
    {
487
        return $this->setProperty('potentialAction', $potentialAction);
488
    }
489
490
    /**
491
     * Used in conjunction with eventStatus for rescheduled or cancelled events.
492
     * This property contains the previously scheduled start date. For
493
     * rescheduled events, the startDate property should be used for the newly
494
     * scheduled start date. In the (rare) case of an event that has been
495
     * postponed and rescheduled multiple times, this field may be repeated.
496
     *
497
     * @param \DateTimeInterface|\DateTimeInterface[] $previousStartDate
498
     *
499
     * @return static
500
     *
501
     * @see http://schema.org/previousStartDate
502
     */
503
    public function previousStartDate($previousStartDate)
504
    {
505
        return $this->setProperty('previousStartDate', $previousStartDate);
506
    }
507
508
    /**
509
     * The CreativeWork that captured all or part of this Event.
510
     *
511
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $recordedIn
512
     *
513
     * @return static
514
     *
515
     * @see http://schema.org/recordedIn
516
     */
517
    public function recordedIn($recordedIn)
518
    {
519
        return $this->setProperty('recordedIn', $recordedIn);
520
    }
521
522
    /**
523
     * The number of attendee places for an event that remain unallocated.
524
     *
525
     * @param int|int[] $remainingAttendeeCapacity
526
     *
527
     * @return static
528
     *
529
     * @see http://schema.org/remainingAttendeeCapacity
530
     */
531
    public function remainingAttendeeCapacity($remainingAttendeeCapacity)
532
    {
533
        return $this->setProperty('remainingAttendeeCapacity', $remainingAttendeeCapacity);
534
    }
535
536
    /**
537
     * A review of the item.
538
     *
539
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review
540
     *
541
     * @return static
542
     *
543
     * @see http://schema.org/review
544
     */
545
    public function review($review)
546
    {
547
        return $this->setProperty('review', $review);
548
    }
549
550
    /**
551
     * URL of a reference Web page that unambiguously indicates the item's
552
     * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
553
     * official website.
554
     *
555
     * @param string|string[] $sameAs
556
     *
557
     * @return static
558
     *
559
     * @see http://schema.org/sameAs
560
     */
561
    public function sameAs($sameAs)
562
    {
563
        return $this->setProperty('sameAs', $sameAs);
564
    }
565
566
    /**
567
     * A person or organization that supports a thing through a pledge, promise,
568
     * or financial contribution. e.g. a sponsor of a Medical Study or a
569
     * corporate sponsor of an event.
570
     *
571
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor
572
     *
573
     * @return static
574
     *
575
     * @see http://schema.org/sponsor
576
     */
577
    public function sponsor($sponsor)
578
    {
579
        return $this->setProperty('sponsor', $sponsor);
580
    }
581
582
    /**
583
     * The start date and time of the item (in [ISO 8601 date
584
     * format](http://en.wikipedia.org/wiki/ISO_8601)).
585
     *
586
     * @param \DateTimeInterface|\DateTimeInterface[] $startDate
587
     *
588
     * @return static
589
     *
590
     * @see http://schema.org/startDate
591
     */
592
    public function startDate($startDate)
593
    {
594
        return $this->setProperty('startDate', $startDate);
595
    }
596
597
    /**
598
     * An Event that is part of this event. For example, a conference event
599
     * includes many presentations, each of which is a subEvent of the
600
     * conference.
601
     *
602
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subEvent
603
     *
604
     * @return static
605
     *
606
     * @see http://schema.org/subEvent
607
     */
608
    public function subEvent($subEvent)
609
    {
610
        return $this->setProperty('subEvent', $subEvent);
611
    }
612
613
    /**
614
     * Events that are a part of this event. For example, a conference event
615
     * includes many presentations, each subEvents of the conference.
616
     *
617
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subEvents
618
     *
619
     * @return static
620
     *
621
     * @see http://schema.org/subEvents
622
     */
623
    public function subEvents($subEvents)
624
    {
625
        return $this->setProperty('subEvents', $subEvents);
626
    }
627
628
    /**
629
     * A CreativeWork or Event about this Thing.
630
     *
631
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
632
     *
633
     * @return static
634
     *
635
     * @see http://schema.org/subjectOf
636
     */
637
    public function subjectOf($subjectOf)
638
    {
639
        return $this->setProperty('subjectOf', $subjectOf);
640
    }
641
642
    /**
643
     * An event that this event is a part of. For example, a collection of
644
     * individual music performances might each have a music festival as their
645
     * superEvent.
646
     *
647
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $superEvent
648
     *
649
     * @return static
650
     *
651
     * @see http://schema.org/superEvent
652
     */
653
    public function superEvent($superEvent)
654
    {
655
        return $this->setProperty('superEvent', $superEvent);
656
    }
657
658
    /**
659
     * Organization or person who adapts a creative work to different languages,
660
     * regional differences and technical requirements of a target market, or
661
     * that translates during some event.
662
     *
663
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $translator
664
     *
665
     * @return static
666
     *
667
     * @see http://schema.org/translator
668
     */
669
    public function translator($translator)
670
    {
671
        return $this->setProperty('translator', $translator);
672
    }
673
674
    /**
675
     * The typical expected age range, e.g. '7-9', '11-'.
676
     *
677
     * @param string|string[] $typicalAgeRange
678
     *
679
     * @return static
680
     *
681
     * @see http://schema.org/typicalAgeRange
682
     */
683
    public function typicalAgeRange($typicalAgeRange)
684
    {
685
        return $this->setProperty('typicalAgeRange', $typicalAgeRange);
686
    }
687
688
    /**
689
     * URL of the item.
690
     *
691
     * @param string|string[] $url
692
     *
693
     * @return static
694
     *
695
     * @see http://schema.org/url
696
     */
697
    public function url($url)
698
    {
699
        return $this->setProperty('url', $url);
700
    }
701
702
    /**
703
     * A work featured in some event, e.g. exhibited in an ExhibitionEvent.
704
     *        Specific subproperties are available for workPerformed (e.g. a
705
     * play), or a workPresented (a Movie at a ScreeningEvent).
706
     *
707
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workFeatured
708
     *
709
     * @return static
710
     *
711
     * @see http://schema.org/workFeatured
712
     */
713
    public function workFeatured($workFeatured)
714
    {
715
        return $this->setProperty('workFeatured', $workFeatured);
716
    }
717
718
    /**
719
     * A work performed in some event, for example a play performed in a
720
     * TheaterEvent.
721
     *
722
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workPerformed
723
     *
724
     * @return static
725
     *
726
     * @see http://schema.org/workPerformed
727
     */
728
    public function workPerformed($workPerformed)
729
    {
730
        return $this->setProperty('workPerformed', $workPerformed);
731
    }
732
733
}
734