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