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/TouristAttraction.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\TouristAttractionContract;
6
use \Spatie\SchemaOrg\Contracts\PlaceContract;
7
use \Spatie\SchemaOrg\Contracts\ThingContract;
8
9
/**
10
 * A tourist attraction.  In principle any Thing can be a [[TouristAttraction]],
11
 * from a [[Mountain]] and [[LandmarksOrHistoricalBuildings]] to a
12
 * [[LocalBusiness]].  This Type can be used on its own to describe a general
13
 * [[TouristAttraction]], or be used as an [[additionalType]] to add tourist
14
 * attraction properties to any other type.  (See examples below)
15
 *
16
 * @see http://schema.org/TouristAttraction
17
 *
18
 */
19 View Code Duplication
class TouristAttraction extends BaseType implements TouristAttractionContract, PlaceContract, ThingContract
0 ignored issues
show
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

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