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