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