1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Spatie\SchemaOrg; |
4
|
|
|
|
5
|
|
|
use \Spatie\SchemaOrg\Contracts\PublicationIssueContract; |
6
|
|
|
use \Spatie\SchemaOrg\Contracts\CreativeWorkContract; |
7
|
|
|
use \Spatie\SchemaOrg\Contracts\ThingContract; |
8
|
|
|
|
9
|
|
|
/** |
10
|
|
|
* A part of a successively published publication such as a periodical or |
11
|
|
|
* publication volume, often numbered, usually containing a grouping of works |
12
|
|
|
* such as articles. |
13
|
|
|
* |
14
|
|
|
* See also [blog |
15
|
|
|
* post](http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html). |
16
|
|
|
* |
17
|
|
|
* @see http://schema.org/PublicationIssue |
18
|
|
|
* |
19
|
|
|
*/ |
20
|
|
|
class PublicationIssue extends BaseType implements PublicationIssueContract, CreativeWorkContract, ThingContract |
21
|
|
|
{ |
22
|
|
|
/** |
23
|
|
|
* The subject matter of the content. |
24
|
|
|
* |
25
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $about |
26
|
|
|
* |
27
|
|
|
* @return static |
28
|
|
|
* |
29
|
|
|
* @see http://schema.org/about |
30
|
|
|
*/ |
31
|
|
|
public function about($about) |
32
|
|
|
{ |
33
|
|
|
return $this->setProperty('about', $about); |
34
|
|
|
} |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* The human sensory perceptual system or cognitive faculty through which a |
38
|
|
|
* person may process or perceive information. Expected values include: |
39
|
|
|
* auditory, tactile, textual, visual, colorDependent, chartOnVisual, |
40
|
|
|
* chemOnVisual, diagramOnVisual, mathOnVisual, musicOnVisual, textOnVisual. |
41
|
|
|
* |
42
|
|
|
* @param string|string[] $accessMode |
43
|
|
|
* |
44
|
|
|
* @return static |
45
|
|
|
* |
46
|
|
|
* @see http://schema.org/accessMode |
47
|
|
|
*/ |
48
|
|
|
public function accessMode($accessMode) |
49
|
|
|
{ |
50
|
|
|
return $this->setProperty('accessMode', $accessMode); |
51
|
|
|
} |
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* A list of single or combined accessModes that are sufficient to |
55
|
|
|
* understand all the intellectual content of a resource. Expected values |
56
|
|
|
* include: auditory, tactile, textual, visual. |
57
|
|
|
* |
58
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ItemListContract|\Spatie\SchemaOrg\Contracts\ItemListContract[] $accessModeSufficient |
59
|
|
|
* |
60
|
|
|
* @return static |
61
|
|
|
* |
62
|
|
|
* @see http://schema.org/accessModeSufficient |
63
|
|
|
*/ |
64
|
|
|
public function accessModeSufficient($accessModeSufficient) |
65
|
|
|
{ |
66
|
|
|
return $this->setProperty('accessModeSufficient', $accessModeSufficient); |
67
|
|
|
} |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* Indicates that the resource is compatible with the referenced |
71
|
|
|
* accessibility API ([WebSchemas wiki lists possible |
72
|
|
|
* values](http://www.w3.org/wiki/WebSchemas/Accessibility)). |
73
|
|
|
* |
74
|
|
|
* @param string|string[] $accessibilityAPI |
75
|
|
|
* |
76
|
|
|
* @return static |
77
|
|
|
* |
78
|
|
|
* @see http://schema.org/accessibilityAPI |
79
|
|
|
*/ |
80
|
|
|
public function accessibilityAPI($accessibilityAPI) |
81
|
|
|
{ |
82
|
|
|
return $this->setProperty('accessibilityAPI', $accessibilityAPI); |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
/** |
86
|
|
|
* Identifies input methods that are sufficient to fully control the |
87
|
|
|
* described resource ([WebSchemas wiki lists possible |
88
|
|
|
* values](http://www.w3.org/wiki/WebSchemas/Accessibility)). |
89
|
|
|
* |
90
|
|
|
* @param string|string[] $accessibilityControl |
91
|
|
|
* |
92
|
|
|
* @return static |
93
|
|
|
* |
94
|
|
|
* @see http://schema.org/accessibilityControl |
95
|
|
|
*/ |
96
|
|
|
public function accessibilityControl($accessibilityControl) |
97
|
|
|
{ |
98
|
|
|
return $this->setProperty('accessibilityControl', $accessibilityControl); |
99
|
|
|
} |
100
|
|
|
|
101
|
|
|
/** |
102
|
|
|
* Content features of the resource, such as accessible media, alternatives |
103
|
|
|
* and supported enhancements for accessibility ([WebSchemas wiki lists |
104
|
|
|
* possible values](http://www.w3.org/wiki/WebSchemas/Accessibility)). |
105
|
|
|
* |
106
|
|
|
* @param string|string[] $accessibilityFeature |
107
|
|
|
* |
108
|
|
|
* @return static |
109
|
|
|
* |
110
|
|
|
* @see http://schema.org/accessibilityFeature |
111
|
|
|
*/ |
112
|
|
|
public function accessibilityFeature($accessibilityFeature) |
113
|
|
|
{ |
114
|
|
|
return $this->setProperty('accessibilityFeature', $accessibilityFeature); |
115
|
|
|
} |
116
|
|
|
|
117
|
|
|
/** |
118
|
|
|
* A characteristic of the described resource that is physiologically |
119
|
|
|
* dangerous to some users. Related to WCAG 2.0 guideline 2.3 ([WebSchemas |
120
|
|
|
* wiki lists possible |
121
|
|
|
* values](http://www.w3.org/wiki/WebSchemas/Accessibility)). |
122
|
|
|
* |
123
|
|
|
* @param string|string[] $accessibilityHazard |
124
|
|
|
* |
125
|
|
|
* @return static |
126
|
|
|
* |
127
|
|
|
* @see http://schema.org/accessibilityHazard |
128
|
|
|
*/ |
129
|
|
|
public function accessibilityHazard($accessibilityHazard) |
130
|
|
|
{ |
131
|
|
|
return $this->setProperty('accessibilityHazard', $accessibilityHazard); |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
/** |
135
|
|
|
* A human-readable summary of specific accessibility features or |
136
|
|
|
* deficiencies, consistent with the other accessibility metadata but |
137
|
|
|
* expressing subtleties such as "short descriptions are present but long |
138
|
|
|
* descriptions will be needed for non-visual users" or "short descriptions |
139
|
|
|
* are present and no long descriptions are needed." |
140
|
|
|
* |
141
|
|
|
* @param string|string[] $accessibilitySummary |
142
|
|
|
* |
143
|
|
|
* @return static |
144
|
|
|
* |
145
|
|
|
* @see http://schema.org/accessibilitySummary |
146
|
|
|
*/ |
147
|
|
|
public function accessibilitySummary($accessibilitySummary) |
148
|
|
|
{ |
149
|
|
|
return $this->setProperty('accessibilitySummary', $accessibilitySummary); |
150
|
|
|
} |
151
|
|
|
|
152
|
|
|
/** |
153
|
|
|
* Specifies the Person that is legally accountable for the CreativeWork. |
154
|
|
|
* |
155
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $accountablePerson |
156
|
|
|
* |
157
|
|
|
* @return static |
158
|
|
|
* |
159
|
|
|
* @see http://schema.org/accountablePerson |
160
|
|
|
*/ |
161
|
|
|
public function accountablePerson($accountablePerson) |
162
|
|
|
{ |
163
|
|
|
return $this->setProperty('accountablePerson', $accountablePerson); |
164
|
|
|
} |
165
|
|
|
|
166
|
|
|
/** |
167
|
|
|
* An additional type for the item, typically used for adding more specific |
168
|
|
|
* types from external vocabularies in microdata syntax. This is a |
169
|
|
|
* relationship between something and a class that the thing is in. In RDFa |
170
|
|
|
* syntax, it is better to use the native RDFa syntax - the 'typeof' |
171
|
|
|
* attribute - for multiple types. Schema.org tools may have only weaker |
172
|
|
|
* understanding of extra types, in particular those defined externally. |
173
|
|
|
* |
174
|
|
|
* @param string|string[] $additionalType |
175
|
|
|
* |
176
|
|
|
* @return static |
177
|
|
|
* |
178
|
|
|
* @see http://schema.org/additionalType |
179
|
|
|
*/ |
180
|
|
|
public function additionalType($additionalType) |
181
|
|
|
{ |
182
|
|
|
return $this->setProperty('additionalType', $additionalType); |
183
|
|
|
} |
184
|
|
|
|
185
|
|
|
/** |
186
|
|
|
* The overall rating, based on a collection of reviews or ratings, of the |
187
|
|
|
* item. |
188
|
|
|
* |
189
|
|
|
* @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating |
190
|
|
|
* |
191
|
|
|
* @return static |
192
|
|
|
* |
193
|
|
|
* @see http://schema.org/aggregateRating |
194
|
|
|
*/ |
195
|
|
|
public function aggregateRating($aggregateRating) |
196
|
|
|
{ |
197
|
|
|
return $this->setProperty('aggregateRating', $aggregateRating); |
198
|
|
|
} |
199
|
|
|
|
200
|
|
|
/** |
201
|
|
|
* An alias for the item. |
202
|
|
|
* |
203
|
|
|
* @param string|string[] $alternateName |
204
|
|
|
* |
205
|
|
|
* @return static |
206
|
|
|
* |
207
|
|
|
* @see http://schema.org/alternateName |
208
|
|
|
*/ |
209
|
|
|
public function alternateName($alternateName) |
210
|
|
|
{ |
211
|
|
|
return $this->setProperty('alternateName', $alternateName); |
212
|
|
|
} |
213
|
|
|
|
214
|
|
|
/** |
215
|
|
|
* A secondary title of the CreativeWork. |
216
|
|
|
* |
217
|
|
|
* @param string|string[] $alternativeHeadline |
218
|
|
|
* |
219
|
|
|
* @return static |
220
|
|
|
* |
221
|
|
|
* @see http://schema.org/alternativeHeadline |
222
|
|
|
*/ |
223
|
|
|
public function alternativeHeadline($alternativeHeadline) |
224
|
|
|
{ |
225
|
|
|
return $this->setProperty('alternativeHeadline', $alternativeHeadline); |
226
|
|
|
} |
227
|
|
|
|
228
|
|
|
/** |
229
|
|
|
* A media object that encodes this CreativeWork. This property is a synonym |
230
|
|
|
* for encoding. |
231
|
|
|
* |
232
|
|
|
* @param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $associatedMedia |
233
|
|
|
* |
234
|
|
|
* @return static |
235
|
|
|
* |
236
|
|
|
* @see http://schema.org/associatedMedia |
237
|
|
|
*/ |
238
|
|
|
public function associatedMedia($associatedMedia) |
239
|
|
|
{ |
240
|
|
|
return $this->setProperty('associatedMedia', $associatedMedia); |
241
|
|
|
} |
242
|
|
|
|
243
|
|
|
/** |
244
|
|
|
* An intended audience, i.e. a group for whom something was created. |
245
|
|
|
* |
246
|
|
|
* @param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[] $audience |
247
|
|
|
* |
248
|
|
|
* @return static |
249
|
|
|
* |
250
|
|
|
* @see http://schema.org/audience |
251
|
|
|
*/ |
252
|
|
|
public function audience($audience) |
253
|
|
|
{ |
254
|
|
|
return $this->setProperty('audience', $audience); |
255
|
|
|
} |
256
|
|
|
|
257
|
|
|
/** |
258
|
|
|
* An embedded audio object. |
259
|
|
|
* |
260
|
|
|
* @param \Spatie\SchemaOrg\Contracts\AudioObjectContract|\Spatie\SchemaOrg\Contracts\AudioObjectContract[]|\Spatie\SchemaOrg\Contracts\ClipContract|\Spatie\SchemaOrg\Contracts\ClipContract[] $audio |
261
|
|
|
* |
262
|
|
|
* @return static |
263
|
|
|
* |
264
|
|
|
* @see http://schema.org/audio |
265
|
|
|
*/ |
266
|
|
|
public function audio($audio) |
267
|
|
|
{ |
268
|
|
|
return $this->setProperty('audio', $audio); |
269
|
|
|
} |
270
|
|
|
|
271
|
|
|
/** |
272
|
|
|
* The author of this content or rating. Please note that author is special |
273
|
|
|
* in that HTML 5 provides a special mechanism for indicating authorship via |
274
|
|
|
* the rel tag. That is equivalent to this and may be used interchangeably. |
275
|
|
|
* |
276
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $author |
277
|
|
|
* |
278
|
|
|
* @return static |
279
|
|
|
* |
280
|
|
|
* @see http://schema.org/author |
281
|
|
|
*/ |
282
|
|
|
public function author($author) |
283
|
|
|
{ |
284
|
|
|
return $this->setProperty('author', $author); |
285
|
|
|
} |
286
|
|
|
|
287
|
|
|
/** |
288
|
|
|
* An award won by or for this item. |
289
|
|
|
* |
290
|
|
|
* @param string|string[] $award |
291
|
|
|
* |
292
|
|
|
* @return static |
293
|
|
|
* |
294
|
|
|
* @see http://schema.org/award |
295
|
|
|
*/ |
296
|
|
|
public function award($award) |
297
|
|
|
{ |
298
|
|
|
return $this->setProperty('award', $award); |
299
|
|
|
} |
300
|
|
|
|
301
|
|
|
/** |
302
|
|
|
* Awards won by or for this item. |
303
|
|
|
* |
304
|
|
|
* @param string|string[] $awards |
305
|
|
|
* |
306
|
|
|
* @return static |
307
|
|
|
* |
308
|
|
|
* @see http://schema.org/awards |
309
|
|
|
*/ |
310
|
|
|
public function awards($awards) |
311
|
|
|
{ |
312
|
|
|
return $this->setProperty('awards', $awards); |
313
|
|
|
} |
314
|
|
|
|
315
|
|
|
/** |
316
|
|
|
* Fictional person connected with a creative work. |
317
|
|
|
* |
318
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $character |
319
|
|
|
* |
320
|
|
|
* @return static |
321
|
|
|
* |
322
|
|
|
* @see http://schema.org/character |
323
|
|
|
*/ |
324
|
|
|
public function character($character) |
325
|
|
|
{ |
326
|
|
|
return $this->setProperty('character', $character); |
327
|
|
|
} |
328
|
|
|
|
329
|
|
|
/** |
330
|
|
|
* A citation or reference to another creative work, such as another |
331
|
|
|
* publication, web page, scholarly article, etc. |
332
|
|
|
* |
333
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $citation |
334
|
|
|
* |
335
|
|
|
* @return static |
336
|
|
|
* |
337
|
|
|
* @see http://schema.org/citation |
338
|
|
|
*/ |
339
|
|
|
public function citation($citation) |
340
|
|
|
{ |
341
|
|
|
return $this->setProperty('citation', $citation); |
342
|
|
|
} |
343
|
|
|
|
344
|
|
|
/** |
345
|
|
|
* Comments, typically from users. |
346
|
|
|
* |
347
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CommentContract|\Spatie\SchemaOrg\Contracts\CommentContract[] $comment |
348
|
|
|
* |
349
|
|
|
* @return static |
350
|
|
|
* |
351
|
|
|
* @see http://schema.org/comment |
352
|
|
|
*/ |
353
|
|
|
public function comment($comment) |
354
|
|
|
{ |
355
|
|
|
return $this->setProperty('comment', $comment); |
356
|
|
|
} |
357
|
|
|
|
358
|
|
|
/** |
359
|
|
|
* The number of comments this CreativeWork (e.g. Article, Question or |
360
|
|
|
* Answer) has received. This is most applicable to works published in Web |
361
|
|
|
* sites with commenting system; additional comments may exist elsewhere. |
362
|
|
|
* |
363
|
|
|
* @param int|int[] $commentCount |
364
|
|
|
* |
365
|
|
|
* @return static |
366
|
|
|
* |
367
|
|
|
* @see http://schema.org/commentCount |
368
|
|
|
*/ |
369
|
|
|
public function commentCount($commentCount) |
370
|
|
|
{ |
371
|
|
|
return $this->setProperty('commentCount', $commentCount); |
372
|
|
|
} |
373
|
|
|
|
374
|
|
|
/** |
375
|
|
|
* The location depicted or described in the content. For example, the |
376
|
|
|
* location in a photograph or painting. |
377
|
|
|
* |
378
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $contentLocation |
379
|
|
|
* |
380
|
|
|
* @return static |
381
|
|
|
* |
382
|
|
|
* @see http://schema.org/contentLocation |
383
|
|
|
*/ |
384
|
|
|
public function contentLocation($contentLocation) |
385
|
|
|
{ |
386
|
|
|
return $this->setProperty('contentLocation', $contentLocation); |
387
|
|
|
} |
388
|
|
|
|
389
|
|
|
/** |
390
|
|
|
* Official rating of a piece of content—for example,'MPAA PG-13'. |
391
|
|
|
* |
392
|
|
|
* @param \Spatie\SchemaOrg\Contracts\RatingContract|\Spatie\SchemaOrg\Contracts\RatingContract[]|string|string[] $contentRating |
393
|
|
|
* |
394
|
|
|
* @return static |
395
|
|
|
* |
396
|
|
|
* @see http://schema.org/contentRating |
397
|
|
|
*/ |
398
|
|
|
public function contentRating($contentRating) |
399
|
|
|
{ |
400
|
|
|
return $this->setProperty('contentRating', $contentRating); |
401
|
|
|
} |
402
|
|
|
|
403
|
|
|
/** |
404
|
|
|
* A secondary contributor to the CreativeWork or Event. |
405
|
|
|
* |
406
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $contributor |
407
|
|
|
* |
408
|
|
|
* @return static |
409
|
|
|
* |
410
|
|
|
* @see http://schema.org/contributor |
411
|
|
|
*/ |
412
|
|
|
public function contributor($contributor) |
413
|
|
|
{ |
414
|
|
|
return $this->setProperty('contributor', $contributor); |
415
|
|
|
} |
416
|
|
|
|
417
|
|
|
/** |
418
|
|
|
* The party holding the legal copyright to the CreativeWork. |
419
|
|
|
* |
420
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $copyrightHolder |
421
|
|
|
* |
422
|
|
|
* @return static |
423
|
|
|
* |
424
|
|
|
* @see http://schema.org/copyrightHolder |
425
|
|
|
*/ |
426
|
|
|
public function copyrightHolder($copyrightHolder) |
427
|
|
|
{ |
428
|
|
|
return $this->setProperty('copyrightHolder', $copyrightHolder); |
429
|
|
|
} |
430
|
|
|
|
431
|
|
|
/** |
432
|
|
|
* The year during which the claimed copyright for the CreativeWork was |
433
|
|
|
* first asserted. |
434
|
|
|
* |
435
|
|
|
* @param float|float[]|int|int[] $copyrightYear |
436
|
|
|
* |
437
|
|
|
* @return static |
438
|
|
|
* |
439
|
|
|
* @see http://schema.org/copyrightYear |
440
|
|
|
*/ |
441
|
|
|
public function copyrightYear($copyrightYear) |
442
|
|
|
{ |
443
|
|
|
return $this->setProperty('copyrightYear', $copyrightYear); |
444
|
|
|
} |
445
|
|
|
|
446
|
|
|
/** |
447
|
|
|
* The creator/author of this CreativeWork. This is the same as the Author |
448
|
|
|
* property for CreativeWork. |
449
|
|
|
* |
450
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $creator |
451
|
|
|
* |
452
|
|
|
* @return static |
453
|
|
|
* |
454
|
|
|
* @see http://schema.org/creator |
455
|
|
|
*/ |
456
|
|
|
public function creator($creator) |
457
|
|
|
{ |
458
|
|
|
return $this->setProperty('creator', $creator); |
459
|
|
|
} |
460
|
|
|
|
461
|
|
|
/** |
462
|
|
|
* The date on which the CreativeWork was created or the item was added to a |
463
|
|
|
* DataFeed. |
464
|
|
|
* |
465
|
|
|
* @param \DateTimeInterface|\DateTimeInterface[] $dateCreated |
466
|
|
|
* |
467
|
|
|
* @return static |
468
|
|
|
* |
469
|
|
|
* @see http://schema.org/dateCreated |
470
|
|
|
*/ |
471
|
|
|
public function dateCreated($dateCreated) |
472
|
|
|
{ |
473
|
|
|
return $this->setProperty('dateCreated', $dateCreated); |
474
|
|
|
} |
475
|
|
|
|
476
|
|
|
/** |
477
|
|
|
* The date on which the CreativeWork was most recently modified or when the |
478
|
|
|
* item's entry was modified within a DataFeed. |
479
|
|
|
* |
480
|
|
|
* @param \DateTimeInterface|\DateTimeInterface[] $dateModified |
481
|
|
|
* |
482
|
|
|
* @return static |
483
|
|
|
* |
484
|
|
|
* @see http://schema.org/dateModified |
485
|
|
|
*/ |
486
|
|
|
public function dateModified($dateModified) |
487
|
|
|
{ |
488
|
|
|
return $this->setProperty('dateModified', $dateModified); |
489
|
|
|
} |
490
|
|
|
|
491
|
|
|
/** |
492
|
|
|
* Date of first broadcast/publication. |
493
|
|
|
* |
494
|
|
|
* @param \DateTimeInterface|\DateTimeInterface[] $datePublished |
495
|
|
|
* |
496
|
|
|
* @return static |
497
|
|
|
* |
498
|
|
|
* @see http://schema.org/datePublished |
499
|
|
|
*/ |
500
|
|
|
public function datePublished($datePublished) |
501
|
|
|
{ |
502
|
|
|
return $this->setProperty('datePublished', $datePublished); |
503
|
|
|
} |
504
|
|
|
|
505
|
|
|
/** |
506
|
|
|
* A description of the item. |
507
|
|
|
* |
508
|
|
|
* @param string|string[] $description |
509
|
|
|
* |
510
|
|
|
* @return static |
511
|
|
|
* |
512
|
|
|
* @see http://schema.org/description |
513
|
|
|
*/ |
514
|
|
|
public function description($description) |
515
|
|
|
{ |
516
|
|
|
return $this->setProperty('description', $description); |
517
|
|
|
} |
518
|
|
|
|
519
|
|
|
/** |
520
|
|
|
* A sub property of description. A short description of the item used to |
521
|
|
|
* disambiguate from other, similar items. Information from other properties |
522
|
|
|
* (in particular, name) may be necessary for the description to be useful |
523
|
|
|
* for disambiguation. |
524
|
|
|
* |
525
|
|
|
* @param string|string[] $disambiguatingDescription |
526
|
|
|
* |
527
|
|
|
* @return static |
528
|
|
|
* |
529
|
|
|
* @see http://schema.org/disambiguatingDescription |
530
|
|
|
*/ |
531
|
|
|
public function disambiguatingDescription($disambiguatingDescription) |
532
|
|
|
{ |
533
|
|
|
return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
534
|
|
|
} |
535
|
|
|
|
536
|
|
|
/** |
537
|
|
|
* A link to the page containing the comments of the CreativeWork. |
538
|
|
|
* |
539
|
|
|
* @param string|string[] $discussionUrl |
540
|
|
|
* |
541
|
|
|
* @return static |
542
|
|
|
* |
543
|
|
|
* @see http://schema.org/discussionUrl |
544
|
|
|
*/ |
545
|
|
|
public function discussionUrl($discussionUrl) |
546
|
|
|
{ |
547
|
|
|
return $this->setProperty('discussionUrl', $discussionUrl); |
548
|
|
|
} |
549
|
|
|
|
550
|
|
|
/** |
551
|
|
|
* Specifies the Person who edited the CreativeWork. |
552
|
|
|
* |
553
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $editor |
554
|
|
|
* |
555
|
|
|
* @return static |
556
|
|
|
* |
557
|
|
|
* @see http://schema.org/editor |
558
|
|
|
*/ |
559
|
|
|
public function editor($editor) |
560
|
|
|
{ |
561
|
|
|
return $this->setProperty('editor', $editor); |
562
|
|
|
} |
563
|
|
|
|
564
|
|
|
/** |
565
|
|
|
* An alignment to an established educational framework. |
566
|
|
|
* |
567
|
|
|
* @param \Spatie\SchemaOrg\Contracts\AlignmentObjectContract|\Spatie\SchemaOrg\Contracts\AlignmentObjectContract[] $educationalAlignment |
568
|
|
|
* |
569
|
|
|
* @return static |
570
|
|
|
* |
571
|
|
|
* @see http://schema.org/educationalAlignment |
572
|
|
|
*/ |
573
|
|
|
public function educationalAlignment($educationalAlignment) |
574
|
|
|
{ |
575
|
|
|
return $this->setProperty('educationalAlignment', $educationalAlignment); |
576
|
|
|
} |
577
|
|
|
|
578
|
|
|
/** |
579
|
|
|
* The purpose of a work in the context of education; for example, |
580
|
|
|
* 'assignment', 'group work'. |
581
|
|
|
* |
582
|
|
|
* @param string|string[] $educationalUse |
583
|
|
|
* |
584
|
|
|
* @return static |
585
|
|
|
* |
586
|
|
|
* @see http://schema.org/educationalUse |
587
|
|
|
*/ |
588
|
|
|
public function educationalUse($educationalUse) |
589
|
|
|
{ |
590
|
|
|
return $this->setProperty('educationalUse', $educationalUse); |
591
|
|
|
} |
592
|
|
|
|
593
|
|
|
/** |
594
|
|
|
* A media object that encodes this CreativeWork. This property is a synonym |
595
|
|
|
* for associatedMedia. |
596
|
|
|
* |
597
|
|
|
* @param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $encoding |
598
|
|
|
* |
599
|
|
|
* @return static |
600
|
|
|
* |
601
|
|
|
* @see http://schema.org/encoding |
602
|
|
|
*/ |
603
|
|
|
public function encoding($encoding) |
604
|
|
|
{ |
605
|
|
|
return $this->setProperty('encoding', $encoding); |
606
|
|
|
} |
607
|
|
|
|
608
|
|
|
/** |
609
|
|
|
* Media type typically expressed using a MIME format (see [IANA |
610
|
|
|
* site](http://www.iana.org/assignments/media-types/media-types.xhtml) and |
611
|
|
|
* [MDN |
612
|
|
|
* reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)) |
613
|
|
|
* e.g. application/zip for a SoftwareApplication binary, audio/mpeg for |
614
|
|
|
* .mp3 etc.). |
615
|
|
|
* |
616
|
|
|
* In cases where a [[CreativeWork]] has several media type representations, |
617
|
|
|
* [[encoding]] can be used to indicate each [[MediaObject]] alongside |
618
|
|
|
* particular [[encodingFormat]] information. |
619
|
|
|
* |
620
|
|
|
* Unregistered or niche encoding and file formats can be indicated instead |
621
|
|
|
* via the most appropriate URL, e.g. defining Web page or a |
622
|
|
|
* Wikipedia/Wikidata entry. |
623
|
|
|
* |
624
|
|
|
* @param string|string[] $encodingFormat |
625
|
|
|
* |
626
|
|
|
* @return static |
627
|
|
|
* |
628
|
|
|
* @see http://schema.org/encodingFormat |
629
|
|
|
*/ |
630
|
|
|
public function encodingFormat($encodingFormat) |
631
|
|
|
{ |
632
|
|
|
return $this->setProperty('encodingFormat', $encodingFormat); |
633
|
|
|
} |
634
|
|
|
|
635
|
|
|
/** |
636
|
|
|
* A media object that encodes this CreativeWork. |
637
|
|
|
* |
638
|
|
|
* @param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $encodings |
639
|
|
|
* |
640
|
|
|
* @return static |
641
|
|
|
* |
642
|
|
|
* @see http://schema.org/encodings |
643
|
|
|
*/ |
644
|
|
|
public function encodings($encodings) |
645
|
|
|
{ |
646
|
|
|
return $this->setProperty('encodings', $encodings); |
647
|
|
|
} |
648
|
|
|
|
649
|
|
|
/** |
650
|
|
|
* A creative work that this work is an |
651
|
|
|
* example/instance/realization/derivation of. |
652
|
|
|
* |
653
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $exampleOfWork |
654
|
|
|
* |
655
|
|
|
* @return static |
656
|
|
|
* |
657
|
|
|
* @see http://schema.org/exampleOfWork |
658
|
|
|
*/ |
659
|
|
|
public function exampleOfWork($exampleOfWork) |
660
|
|
|
{ |
661
|
|
|
return $this->setProperty('exampleOfWork', $exampleOfWork); |
662
|
|
|
} |
663
|
|
|
|
664
|
|
|
/** |
665
|
|
|
* Date the content expires and is no longer useful or available. For |
666
|
|
|
* example a [[VideoObject]] or [[NewsArticle]] whose availability or |
667
|
|
|
* relevance is time-limited, or a [[ClaimReview]] fact check whose |
668
|
|
|
* publisher wants to indicate that it may no longer be relevant (or helpful |
669
|
|
|
* to highlight) after some date. |
670
|
|
|
* |
671
|
|
|
* @param \DateTimeInterface|\DateTimeInterface[] $expires |
672
|
|
|
* |
673
|
|
|
* @return static |
674
|
|
|
* |
675
|
|
|
* @see http://schema.org/expires |
676
|
|
|
*/ |
677
|
|
|
public function expires($expires) |
678
|
|
|
{ |
679
|
|
|
return $this->setProperty('expires', $expires); |
680
|
|
|
} |
681
|
|
|
|
682
|
|
|
/** |
683
|
|
|
* Media type, typically MIME format (see [IANA |
684
|
|
|
* site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of |
685
|
|
|
* the content e.g. application/zip of a SoftwareApplication binary. In |
686
|
|
|
* cases where a CreativeWork has several media type representations, |
687
|
|
|
* 'encoding' can be used to indicate each MediaObject alongside particular |
688
|
|
|
* fileFormat information. Unregistered or niche file formats can be |
689
|
|
|
* indicated instead via the most appropriate URL, e.g. defining Web page or |
690
|
|
|
* a Wikipedia entry. |
691
|
|
|
* |
692
|
|
|
* @param string|string[] $fileFormat |
693
|
|
|
* |
694
|
|
|
* @return static |
695
|
|
|
* |
696
|
|
|
* @see http://schema.org/fileFormat |
697
|
|
|
*/ |
698
|
|
|
public function fileFormat($fileFormat) |
699
|
|
|
{ |
700
|
|
|
return $this->setProperty('fileFormat', $fileFormat); |
701
|
|
|
} |
702
|
|
|
|
703
|
|
|
/** |
704
|
|
|
* A person or organization that supports (sponsors) something through some |
705
|
|
|
* kind of financial contribution. |
706
|
|
|
* |
707
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder |
708
|
|
|
* |
709
|
|
|
* @return static |
710
|
|
|
* |
711
|
|
|
* @see http://schema.org/funder |
712
|
|
|
*/ |
713
|
|
|
public function funder($funder) |
714
|
|
|
{ |
715
|
|
|
return $this->setProperty('funder', $funder); |
716
|
|
|
} |
717
|
|
|
|
718
|
|
|
/** |
719
|
|
|
* Genre of the creative work, broadcast channel or group. |
720
|
|
|
* |
721
|
|
|
* @param string|string[] $genre |
722
|
|
|
* |
723
|
|
|
* @return static |
724
|
|
|
* |
725
|
|
|
* @see http://schema.org/genre |
726
|
|
|
*/ |
727
|
|
|
public function genre($genre) |
728
|
|
|
{ |
729
|
|
|
return $this->setProperty('genre', $genre); |
730
|
|
|
} |
731
|
|
|
|
732
|
|
|
/** |
733
|
|
|
* Indicates an item or CreativeWork that is part of this item, or |
734
|
|
|
* CreativeWork (in some sense). |
735
|
|
|
* |
736
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $hasPart |
737
|
|
|
* |
738
|
|
|
* @return static |
739
|
|
|
* |
740
|
|
|
* @see http://schema.org/hasPart |
741
|
|
|
*/ |
742
|
|
|
public function hasPart($hasPart) |
743
|
|
|
{ |
744
|
|
|
return $this->setProperty('hasPart', $hasPart); |
745
|
|
|
} |
746
|
|
|
|
747
|
|
|
/** |
748
|
|
|
* Headline of the article. |
749
|
|
|
* |
750
|
|
|
* @param string|string[] $headline |
751
|
|
|
* |
752
|
|
|
* @return static |
753
|
|
|
* |
754
|
|
|
* @see http://schema.org/headline |
755
|
|
|
*/ |
756
|
|
|
public function headline($headline) |
757
|
|
|
{ |
758
|
|
|
return $this->setProperty('headline', $headline); |
759
|
|
|
} |
760
|
|
|
|
761
|
|
|
/** |
762
|
|
|
* The identifier property represents any kind of identifier for any kind of |
763
|
|
|
* [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
764
|
|
|
* dedicated properties for representing many of these, either as textual |
765
|
|
|
* strings or as URL (URI) links. See [background |
766
|
|
|
* notes](/docs/datamodel.html#identifierBg) for more details. |
767
|
|
|
* |
768
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
769
|
|
|
* |
770
|
|
|
* @return static |
771
|
|
|
* |
772
|
|
|
* @see http://schema.org/identifier |
773
|
|
|
*/ |
774
|
|
|
public function identifier($identifier) |
775
|
|
|
{ |
776
|
|
|
return $this->setProperty('identifier', $identifier); |
777
|
|
|
} |
778
|
|
|
|
779
|
|
|
/** |
780
|
|
|
* An image of the item. This can be a [[URL]] or a fully described |
781
|
|
|
* [[ImageObject]]. |
782
|
|
|
* |
783
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
784
|
|
|
* |
785
|
|
|
* @return static |
786
|
|
|
* |
787
|
|
|
* @see http://schema.org/image |
788
|
|
|
*/ |
789
|
|
|
public function image($image) |
790
|
|
|
{ |
791
|
|
|
return $this->setProperty('image', $image); |
792
|
|
|
} |
793
|
|
|
|
794
|
|
|
/** |
795
|
|
|
* The language of the content or performance or used in an action. Please |
796
|
|
|
* use one of the language codes from the [IETF BCP 47 |
797
|
|
|
* standard](http://tools.ietf.org/html/bcp47). See also |
798
|
|
|
* [[availableLanguage]]. |
799
|
|
|
* |
800
|
|
|
* @param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $inLanguage |
801
|
|
|
* |
802
|
|
|
* @return static |
803
|
|
|
* |
804
|
|
|
* @see http://schema.org/inLanguage |
805
|
|
|
*/ |
806
|
|
|
public function inLanguage($inLanguage) |
807
|
|
|
{ |
808
|
|
|
return $this->setProperty('inLanguage', $inLanguage); |
809
|
|
|
} |
810
|
|
|
|
811
|
|
|
/** |
812
|
|
|
* The number of interactions for the CreativeWork using the WebSite or |
813
|
|
|
* SoftwareApplication. The most specific child type of InteractionCounter |
814
|
|
|
* should be used. |
815
|
|
|
* |
816
|
|
|
* @param \Spatie\SchemaOrg\Contracts\InteractionCounterContract|\Spatie\SchemaOrg\Contracts\InteractionCounterContract[] $interactionStatistic |
817
|
|
|
* |
818
|
|
|
* @return static |
819
|
|
|
* |
820
|
|
|
* @see http://schema.org/interactionStatistic |
821
|
|
|
*/ |
822
|
|
|
public function interactionStatistic($interactionStatistic) |
823
|
|
|
{ |
824
|
|
|
return $this->setProperty('interactionStatistic', $interactionStatistic); |
825
|
|
|
} |
826
|
|
|
|
827
|
|
|
/** |
828
|
|
|
* The predominant mode of learning supported by the learning resource. |
829
|
|
|
* Acceptable values are 'active', 'expositive', or 'mixed'. |
830
|
|
|
* |
831
|
|
|
* @param string|string[] $interactivityType |
832
|
|
|
* |
833
|
|
|
* @return static |
834
|
|
|
* |
835
|
|
|
* @see http://schema.org/interactivityType |
836
|
|
|
*/ |
837
|
|
|
public function interactivityType($interactivityType) |
838
|
|
|
{ |
839
|
|
|
return $this->setProperty('interactivityType', $interactivityType); |
840
|
|
|
} |
841
|
|
|
|
842
|
|
|
/** |
843
|
|
|
* A flag to signal that the item, event, or place is accessible for free. |
844
|
|
|
* |
845
|
|
|
* @param bool|bool[] $isAccessibleForFree |
846
|
|
|
* |
847
|
|
|
* @return static |
848
|
|
|
* |
849
|
|
|
* @see http://schema.org/isAccessibleForFree |
850
|
|
|
*/ |
851
|
|
|
public function isAccessibleForFree($isAccessibleForFree) |
852
|
|
|
{ |
853
|
|
|
return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); |
854
|
|
|
} |
855
|
|
|
|
856
|
|
|
/** |
857
|
|
|
* A resource from which this work is derived or from which it is a |
858
|
|
|
* modification or adaption. |
859
|
|
|
* |
860
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn |
861
|
|
|
* |
862
|
|
|
* @return static |
863
|
|
|
* |
864
|
|
|
* @see http://schema.org/isBasedOn |
865
|
|
|
*/ |
866
|
|
|
public function isBasedOn($isBasedOn) |
867
|
|
|
{ |
868
|
|
|
return $this->setProperty('isBasedOn', $isBasedOn); |
869
|
|
|
} |
870
|
|
|
|
871
|
|
|
/** |
872
|
|
|
* A resource that was used in the creation of this resource. This term can |
873
|
|
|
* be repeated for multiple sources. For example, |
874
|
|
|
* http://example.com/great-multiplication-intro.html. |
875
|
|
|
* |
876
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOnUrl |
877
|
|
|
* |
878
|
|
|
* @return static |
879
|
|
|
* |
880
|
|
|
* @see http://schema.org/isBasedOnUrl |
881
|
|
|
*/ |
882
|
|
|
public function isBasedOnUrl($isBasedOnUrl) |
883
|
|
|
{ |
884
|
|
|
return $this->setProperty('isBasedOnUrl', $isBasedOnUrl); |
885
|
|
|
} |
886
|
|
|
|
887
|
|
|
/** |
888
|
|
|
* Indicates whether this content is family friendly. |
889
|
|
|
* |
890
|
|
|
* @param bool|bool[] $isFamilyFriendly |
891
|
|
|
* |
892
|
|
|
* @return static |
893
|
|
|
* |
894
|
|
|
* @see http://schema.org/isFamilyFriendly |
895
|
|
|
*/ |
896
|
|
|
public function isFamilyFriendly($isFamilyFriendly) |
897
|
|
|
{ |
898
|
|
|
return $this->setProperty('isFamilyFriendly', $isFamilyFriendly); |
899
|
|
|
} |
900
|
|
|
|
901
|
|
|
/** |
902
|
|
|
* Indicates an item or CreativeWork that this item, or CreativeWork (in |
903
|
|
|
* some sense), is part of. |
904
|
|
|
* |
905
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $isPartOf |
906
|
|
|
* |
907
|
|
|
* @return static |
908
|
|
|
* |
909
|
|
|
* @see http://schema.org/isPartOf |
910
|
|
|
*/ |
911
|
|
|
public function isPartOf($isPartOf) |
912
|
|
|
{ |
913
|
|
|
return $this->setProperty('isPartOf', $isPartOf); |
914
|
|
|
} |
915
|
|
|
|
916
|
|
|
/** |
917
|
|
|
* Identifies the issue of publication; for example, "iii" or "2". |
918
|
|
|
* |
919
|
|
|
* @param int|int[]|string|string[] $issueNumber |
920
|
|
|
* |
921
|
|
|
* @return static |
922
|
|
|
* |
923
|
|
|
* @see http://schema.org/issueNumber |
924
|
|
|
*/ |
925
|
|
|
public function issueNumber($issueNumber) |
926
|
|
|
{ |
927
|
|
|
return $this->setProperty('issueNumber', $issueNumber); |
928
|
|
|
} |
929
|
|
|
|
930
|
|
|
/** |
931
|
|
|
* Keywords or tags used to describe this content. Multiple entries in a |
932
|
|
|
* keywords list are typically delimited by commas. |
933
|
|
|
* |
934
|
|
|
* @param string|string[] $keywords |
935
|
|
|
* |
936
|
|
|
* @return static |
937
|
|
|
* |
938
|
|
|
* @see http://schema.org/keywords |
939
|
|
|
*/ |
940
|
|
|
public function keywords($keywords) |
941
|
|
|
{ |
942
|
|
|
return $this->setProperty('keywords', $keywords); |
943
|
|
|
} |
944
|
|
|
|
945
|
|
|
/** |
946
|
|
|
* The predominant type or kind characterizing the learning resource. For |
947
|
|
|
* example, 'presentation', 'handout'. |
948
|
|
|
* |
949
|
|
|
* @param string|string[] $learningResourceType |
950
|
|
|
* |
951
|
|
|
* @return static |
952
|
|
|
* |
953
|
|
|
* @see http://schema.org/learningResourceType |
954
|
|
|
*/ |
955
|
|
|
public function learningResourceType($learningResourceType) |
956
|
|
|
{ |
957
|
|
|
return $this->setProperty('learningResourceType', $learningResourceType); |
958
|
|
|
} |
959
|
|
|
|
960
|
|
|
/** |
961
|
|
|
* A license document that applies to this content, typically indicated by |
962
|
|
|
* URL. |
963
|
|
|
* |
964
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $license |
965
|
|
|
* |
966
|
|
|
* @return static |
967
|
|
|
* |
968
|
|
|
* @see http://schema.org/license |
969
|
|
|
*/ |
970
|
|
|
public function license($license) |
971
|
|
|
{ |
972
|
|
|
return $this->setProperty('license', $license); |
973
|
|
|
} |
974
|
|
|
|
975
|
|
|
/** |
976
|
|
|
* The location where the CreativeWork was created, which may not be the |
977
|
|
|
* same as the location depicted in the CreativeWork. |
978
|
|
|
* |
979
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $locationCreated |
980
|
|
|
* |
981
|
|
|
* @return static |
982
|
|
|
* |
983
|
|
|
* @see http://schema.org/locationCreated |
984
|
|
|
*/ |
985
|
|
|
public function locationCreated($locationCreated) |
986
|
|
|
{ |
987
|
|
|
return $this->setProperty('locationCreated', $locationCreated); |
988
|
|
|
} |
989
|
|
|
|
990
|
|
|
/** |
991
|
|
|
* Indicates the primary entity described in some page or other |
992
|
|
|
* CreativeWork. |
993
|
|
|
* |
994
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $mainEntity |
995
|
|
|
* |
996
|
|
|
* @return static |
997
|
|
|
* |
998
|
|
|
* @see http://schema.org/mainEntity |
999
|
|
|
*/ |
1000
|
|
|
public function mainEntity($mainEntity) |
1001
|
|
|
{ |
1002
|
|
|
return $this->setProperty('mainEntity', $mainEntity); |
1003
|
|
|
} |
1004
|
|
|
|
1005
|
|
|
/** |
1006
|
|
|
* Indicates a page (or other CreativeWork) for which this thing is the main |
1007
|
|
|
* entity being described. See [background |
1008
|
|
|
* notes](/docs/datamodel.html#mainEntityBackground) for details. |
1009
|
|
|
* |
1010
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
1011
|
|
|
* |
1012
|
|
|
* @return static |
1013
|
|
|
* |
1014
|
|
|
* @see http://schema.org/mainEntityOfPage |
1015
|
|
|
*/ |
1016
|
|
|
public function mainEntityOfPage($mainEntityOfPage) |
1017
|
|
|
{ |
1018
|
|
|
return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
1019
|
|
|
} |
1020
|
|
|
|
1021
|
|
|
/** |
1022
|
|
|
* A material that something is made from, e.g. leather, wool, cotton, |
1023
|
|
|
* paper. |
1024
|
|
|
* |
1025
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $material |
1026
|
|
|
* |
1027
|
|
|
* @return static |
1028
|
|
|
* |
1029
|
|
|
* @see http://schema.org/material |
1030
|
|
|
*/ |
1031
|
|
|
public function material($material) |
1032
|
|
|
{ |
1033
|
|
|
return $this->setProperty('material', $material); |
1034
|
|
|
} |
1035
|
|
|
|
1036
|
|
|
/** |
1037
|
|
|
* Indicates that the CreativeWork contains a reference to, but is not |
1038
|
|
|
* necessarily about a concept. |
1039
|
|
|
* |
1040
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $mentions |
1041
|
|
|
* |
1042
|
|
|
* @return static |
1043
|
|
|
* |
1044
|
|
|
* @see http://schema.org/mentions |
1045
|
|
|
*/ |
1046
|
|
|
public function mentions($mentions) |
1047
|
|
|
{ |
1048
|
|
|
return $this->setProperty('mentions', $mentions); |
1049
|
|
|
} |
1050
|
|
|
|
1051
|
|
|
/** |
1052
|
|
|
* The name of the item. |
1053
|
|
|
* |
1054
|
|
|
* @param string|string[] $name |
1055
|
|
|
* |
1056
|
|
|
* @return static |
1057
|
|
|
* |
1058
|
|
|
* @see http://schema.org/name |
1059
|
|
|
*/ |
1060
|
|
|
public function name($name) |
1061
|
|
|
{ |
1062
|
|
|
return $this->setProperty('name', $name); |
1063
|
|
|
} |
1064
|
|
|
|
1065
|
|
|
/** |
1066
|
|
|
* An offer to provide this item—for example, an offer to sell a |
1067
|
|
|
* product, rent the DVD of a movie, perform a service, or give away tickets |
1068
|
|
|
* to an event. Use [[businessFunction]] to indicate the kind of transaction |
1069
|
|
|
* offered, i.e. sell, lease, etc. This property can also be used to |
1070
|
|
|
* describe a [[Demand]]. While this property is listed as expected on a |
1071
|
|
|
* number of common types, it can be used in others. In that case, using a |
1072
|
|
|
* second type, such as Product or a subtype of Product, can clarify the |
1073
|
|
|
* nature of the offer. |
1074
|
|
|
* |
1075
|
|
|
* @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[]|\Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $offers |
1076
|
|
|
* |
1077
|
|
|
* @return static |
1078
|
|
|
* |
1079
|
|
|
* @see http://schema.org/offers |
1080
|
|
|
*/ |
1081
|
|
|
public function offers($offers) |
1082
|
|
|
{ |
1083
|
|
|
return $this->setProperty('offers', $offers); |
1084
|
|
|
} |
1085
|
|
|
|
1086
|
|
|
/** |
1087
|
|
|
* The page on which the work ends; for example "138" or "xvi". |
1088
|
|
|
* |
1089
|
|
|
* @param int|int[]|string|string[] $pageEnd |
1090
|
|
|
* |
1091
|
|
|
* @return static |
1092
|
|
|
* |
1093
|
|
|
* @see http://schema.org/pageEnd |
1094
|
|
|
*/ |
1095
|
|
|
public function pageEnd($pageEnd) |
1096
|
|
|
{ |
1097
|
|
|
return $this->setProperty('pageEnd', $pageEnd); |
1098
|
|
|
} |
1099
|
|
|
|
1100
|
|
|
/** |
1101
|
|
|
* The page on which the work starts; for example "135" or "xiii". |
1102
|
|
|
* |
1103
|
|
|
* @param int|int[]|string|string[] $pageStart |
1104
|
|
|
* |
1105
|
|
|
* @return static |
1106
|
|
|
* |
1107
|
|
|
* @see http://schema.org/pageStart |
1108
|
|
|
*/ |
1109
|
|
|
public function pageStart($pageStart) |
1110
|
|
|
{ |
1111
|
|
|
return $this->setProperty('pageStart', $pageStart); |
1112
|
|
|
} |
1113
|
|
|
|
1114
|
|
|
/** |
1115
|
|
|
* Any description of pages that is not separated into pageStart and |
1116
|
|
|
* pageEnd; for example, "1-6, 9, 55" or "10-12, 46-49". |
1117
|
|
|
* |
1118
|
|
|
* @param string|string[] $pagination |
1119
|
|
|
* |
1120
|
|
|
* @return static |
1121
|
|
|
* |
1122
|
|
|
* @see http://schema.org/pagination |
1123
|
|
|
*/ |
1124
|
|
|
public function pagination($pagination) |
1125
|
|
|
{ |
1126
|
|
|
return $this->setProperty('pagination', $pagination); |
1127
|
|
|
} |
1128
|
|
|
|
1129
|
|
|
/** |
1130
|
|
|
* The position of an item in a series or sequence of items. |
1131
|
|
|
* |
1132
|
|
|
* @param int|int[]|string|string[] $position |
1133
|
|
|
* |
1134
|
|
|
* @return static |
1135
|
|
|
* |
1136
|
|
|
* @see http://schema.org/position |
1137
|
|
|
*/ |
1138
|
|
|
public function position($position) |
1139
|
|
|
{ |
1140
|
|
|
return $this->setProperty('position', $position); |
1141
|
|
|
} |
1142
|
|
|
|
1143
|
|
|
/** |
1144
|
|
|
* Indicates a potential Action, which describes an idealized action in |
1145
|
|
|
* which this thing would play an 'object' role. |
1146
|
|
|
* |
1147
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
1148
|
|
|
* |
1149
|
|
|
* @return static |
1150
|
|
|
* |
1151
|
|
|
* @see http://schema.org/potentialAction |
1152
|
|
|
*/ |
1153
|
|
|
public function potentialAction($potentialAction) |
1154
|
|
|
{ |
1155
|
|
|
return $this->setProperty('potentialAction', $potentialAction); |
1156
|
|
|
} |
1157
|
|
|
|
1158
|
|
|
/** |
1159
|
|
|
* The person or organization who produced the work (e.g. music album, |
1160
|
|
|
* movie, tv/radio series etc.). |
1161
|
|
|
* |
1162
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $producer |
1163
|
|
|
* |
1164
|
|
|
* @return static |
1165
|
|
|
* |
1166
|
|
|
* @see http://schema.org/producer |
1167
|
|
|
*/ |
1168
|
|
|
public function producer($producer) |
1169
|
|
|
{ |
1170
|
|
|
return $this->setProperty('producer', $producer); |
1171
|
|
|
} |
1172
|
|
|
|
1173
|
|
|
/** |
1174
|
|
|
* The service provider, service operator, or service performer; the goods |
1175
|
|
|
* producer. Another party (a seller) may offer those services or goods on |
1176
|
|
|
* behalf of the provider. A provider may also serve as the seller. |
1177
|
|
|
* |
1178
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $provider |
1179
|
|
|
* |
1180
|
|
|
* @return static |
1181
|
|
|
* |
1182
|
|
|
* @see http://schema.org/provider |
1183
|
|
|
*/ |
1184
|
|
|
public function provider($provider) |
1185
|
|
|
{ |
1186
|
|
|
return $this->setProperty('provider', $provider); |
1187
|
|
|
} |
1188
|
|
|
|
1189
|
|
|
/** |
1190
|
|
|
* A publication event associated with the item. |
1191
|
|
|
* |
1192
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PublicationEventContract|\Spatie\SchemaOrg\Contracts\PublicationEventContract[] $publication |
1193
|
|
|
* |
1194
|
|
|
* @return static |
1195
|
|
|
* |
1196
|
|
|
* @see http://schema.org/publication |
1197
|
|
|
*/ |
1198
|
|
|
public function publication($publication) |
1199
|
|
|
{ |
1200
|
|
|
return $this->setProperty('publication', $publication); |
1201
|
|
|
} |
1202
|
|
|
|
1203
|
|
|
/** |
1204
|
|
|
* The publisher of the creative work. |
1205
|
|
|
* |
1206
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $publisher |
1207
|
|
|
* |
1208
|
|
|
* @return static |
1209
|
|
|
* |
1210
|
|
|
* @see http://schema.org/publisher |
1211
|
|
|
*/ |
1212
|
|
|
public function publisher($publisher) |
1213
|
|
|
{ |
1214
|
|
|
return $this->setProperty('publisher', $publisher); |
1215
|
|
|
} |
1216
|
|
|
|
1217
|
|
|
/** |
1218
|
|
|
* The publishingPrinciples property indicates (typically via [[URL]]) a |
1219
|
|
|
* document describing the editorial principles of an [[Organization]] (or |
1220
|
|
|
* individual e.g. a [[Person]] writing a blog) that relate to their |
1221
|
|
|
* activities as a publisher, e.g. ethics or diversity policies. When |
1222
|
|
|
* applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are |
1223
|
|
|
* those of the party primarily responsible for the creation of the |
1224
|
|
|
* [[CreativeWork]]. |
1225
|
|
|
* |
1226
|
|
|
* While such policies are most typically expressed in natural language, |
1227
|
|
|
* sometimes related information (e.g. indicating a [[funder]]) can be |
1228
|
|
|
* expressed using schema.org terminology. |
1229
|
|
|
* |
1230
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples |
1231
|
|
|
* |
1232
|
|
|
* @return static |
1233
|
|
|
* |
1234
|
|
|
* @see http://schema.org/publishingPrinciples |
1235
|
|
|
*/ |
1236
|
|
|
public function publishingPrinciples($publishingPrinciples) |
1237
|
|
|
{ |
1238
|
|
|
return $this->setProperty('publishingPrinciples', $publishingPrinciples); |
1239
|
|
|
} |
1240
|
|
|
|
1241
|
|
|
/** |
1242
|
|
|
* The Event where the CreativeWork was recorded. The CreativeWork may |
1243
|
|
|
* capture all or part of the event. |
1244
|
|
|
* |
1245
|
|
|
* @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $recordedAt |
1246
|
|
|
* |
1247
|
|
|
* @return static |
1248
|
|
|
* |
1249
|
|
|
* @see http://schema.org/recordedAt |
1250
|
|
|
*/ |
1251
|
|
|
public function recordedAt($recordedAt) |
1252
|
|
|
{ |
1253
|
|
|
return $this->setProperty('recordedAt', $recordedAt); |
1254
|
|
|
} |
1255
|
|
|
|
1256
|
|
|
/** |
1257
|
|
|
* The place and time the release was issued, expressed as a |
1258
|
|
|
* PublicationEvent. |
1259
|
|
|
* |
1260
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PublicationEventContract|\Spatie\SchemaOrg\Contracts\PublicationEventContract[] $releasedEvent |
1261
|
|
|
* |
1262
|
|
|
* @return static |
1263
|
|
|
* |
1264
|
|
|
* @see http://schema.org/releasedEvent |
1265
|
|
|
*/ |
1266
|
|
|
public function releasedEvent($releasedEvent) |
1267
|
|
|
{ |
1268
|
|
|
return $this->setProperty('releasedEvent', $releasedEvent); |
1269
|
|
|
} |
1270
|
|
|
|
1271
|
|
|
/** |
1272
|
|
|
* A review of the item. |
1273
|
|
|
* |
1274
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review |
1275
|
|
|
* |
1276
|
|
|
* @return static |
1277
|
|
|
* |
1278
|
|
|
* @see http://schema.org/review |
1279
|
|
|
*/ |
1280
|
|
|
public function review($review) |
1281
|
|
|
{ |
1282
|
|
|
return $this->setProperty('review', $review); |
1283
|
|
|
} |
1284
|
|
|
|
1285
|
|
|
/** |
1286
|
|
|
* Review of the item. |
1287
|
|
|
* |
1288
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews |
1289
|
|
|
* |
1290
|
|
|
* @return static |
1291
|
|
|
* |
1292
|
|
|
* @see http://schema.org/reviews |
1293
|
|
|
*/ |
1294
|
|
|
public function reviews($reviews) |
1295
|
|
|
{ |
1296
|
|
|
return $this->setProperty('reviews', $reviews); |
1297
|
|
|
} |
1298
|
|
|
|
1299
|
|
|
/** |
1300
|
|
|
* URL of a reference Web page that unambiguously indicates the item's |
1301
|
|
|
* identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
1302
|
|
|
* official website. |
1303
|
|
|
* |
1304
|
|
|
* @param string|string[] $sameAs |
1305
|
|
|
* |
1306
|
|
|
* @return static |
1307
|
|
|
* |
1308
|
|
|
* @see http://schema.org/sameAs |
1309
|
|
|
*/ |
1310
|
|
|
public function sameAs($sameAs) |
1311
|
|
|
{ |
1312
|
|
|
return $this->setProperty('sameAs', $sameAs); |
1313
|
|
|
} |
1314
|
|
|
|
1315
|
|
|
/** |
1316
|
|
|
* Indicates (by URL or string) a particular version of a schema used in |
1317
|
|
|
* some CreativeWork. For example, a document could declare a schemaVersion |
1318
|
|
|
* using an URL such as http://schema.org/version/2.0/ if precise indication |
1319
|
|
|
* of schema version was required by some application. |
1320
|
|
|
* |
1321
|
|
|
* @param string|string[] $schemaVersion |
1322
|
|
|
* |
1323
|
|
|
* @return static |
1324
|
|
|
* |
1325
|
|
|
* @see http://schema.org/schemaVersion |
1326
|
|
|
*/ |
1327
|
|
|
public function schemaVersion($schemaVersion) |
1328
|
|
|
{ |
1329
|
|
|
return $this->setProperty('schemaVersion', $schemaVersion); |
1330
|
|
|
} |
1331
|
|
|
|
1332
|
|
|
/** |
1333
|
|
|
* The Organization on whose behalf the creator was working. |
1334
|
|
|
* |
1335
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $sourceOrganization |
1336
|
|
|
* |
1337
|
|
|
* @return static |
1338
|
|
|
* |
1339
|
|
|
* @see http://schema.org/sourceOrganization |
1340
|
|
|
*/ |
1341
|
|
|
public function sourceOrganization($sourceOrganization) |
1342
|
|
|
{ |
1343
|
|
|
return $this->setProperty('sourceOrganization', $sourceOrganization); |
1344
|
|
|
} |
1345
|
|
|
|
1346
|
|
|
/** |
1347
|
|
|
* The "spatial" property can be used in cases when more specific properties |
1348
|
|
|
* (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are |
1349
|
|
|
* not known to be appropriate. |
1350
|
|
|
* |
1351
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $spatial |
1352
|
|
|
* |
1353
|
|
|
* @return static |
1354
|
|
|
* |
1355
|
|
|
* @see http://schema.org/spatial |
1356
|
|
|
*/ |
1357
|
|
|
public function spatial($spatial) |
1358
|
|
|
{ |
1359
|
|
|
return $this->setProperty('spatial', $spatial); |
1360
|
|
|
} |
1361
|
|
|
|
1362
|
|
|
/** |
1363
|
|
|
* The spatialCoverage of a CreativeWork indicates the place(s) which are |
1364
|
|
|
* the focus of the content. It is a subproperty of |
1365
|
|
|
* contentLocation intended primarily for more technical and detailed |
1366
|
|
|
* materials. For example with a Dataset, it indicates |
1367
|
|
|
* areas that the dataset describes: a dataset of New York weather |
1368
|
|
|
* would have spatialCoverage which was the place: the state of New York. |
1369
|
|
|
* |
1370
|
|
|
* @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $spatialCoverage |
1371
|
|
|
* |
1372
|
|
|
* @return static |
1373
|
|
|
* |
1374
|
|
|
* @see http://schema.org/spatialCoverage |
1375
|
|
|
*/ |
1376
|
|
|
public function spatialCoverage($spatialCoverage) |
1377
|
|
|
{ |
1378
|
|
|
return $this->setProperty('spatialCoverage', $spatialCoverage); |
1379
|
|
|
} |
1380
|
|
|
|
1381
|
|
|
/** |
1382
|
|
|
* A person or organization that supports a thing through a pledge, promise, |
1383
|
|
|
* or financial contribution. e.g. a sponsor of a Medical Study or a |
1384
|
|
|
* corporate sponsor of an event. |
1385
|
|
|
* |
1386
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor |
1387
|
|
|
* |
1388
|
|
|
* @return static |
1389
|
|
|
* |
1390
|
|
|
* @see http://schema.org/sponsor |
1391
|
|
|
*/ |
1392
|
|
|
public function sponsor($sponsor) |
1393
|
|
|
{ |
1394
|
|
|
return $this->setProperty('sponsor', $sponsor); |
1395
|
|
|
} |
1396
|
|
|
|
1397
|
|
|
/** |
1398
|
|
|
* A CreativeWork or Event about this Thing. |
1399
|
|
|
* |
1400
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
1401
|
|
|
* |
1402
|
|
|
* @return static |
1403
|
|
|
* |
1404
|
|
|
* @see http://schema.org/subjectOf |
1405
|
|
|
*/ |
1406
|
|
|
public function subjectOf($subjectOf) |
1407
|
|
|
{ |
1408
|
|
|
return $this->setProperty('subjectOf', $subjectOf); |
1409
|
|
|
} |
1410
|
|
|
|
1411
|
|
|
/** |
1412
|
|
|
* The "temporal" property can be used in cases where more specific |
1413
|
|
|
* properties |
1414
|
|
|
* (e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], |
1415
|
|
|
* [[datePublished]]) are not known to be appropriate. |
1416
|
|
|
* |
1417
|
|
|
* @param \DateTimeInterface|\DateTimeInterface[]|string|string[] $temporal |
1418
|
|
|
* |
1419
|
|
|
* @return static |
1420
|
|
|
* |
1421
|
|
|
* @see http://schema.org/temporal |
1422
|
|
|
*/ |
1423
|
|
|
public function temporal($temporal) |
1424
|
|
|
{ |
1425
|
|
|
return $this->setProperty('temporal', $temporal); |
1426
|
|
|
} |
1427
|
|
|
|
1428
|
|
|
/** |
1429
|
|
|
* The temporalCoverage of a CreativeWork indicates the period that the |
1430
|
|
|
* content applies to, i.e. that it describes, either as a DateTime or as a |
1431
|
|
|
* textual string indicating a time period in [ISO 8601 time interval |
1432
|
|
|
* format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In |
1433
|
|
|
* the case of a Dataset it will typically indicate the relevant time |
1434
|
|
|
* period in a precise notation (e.g. for a 2011 census dataset, the year |
1435
|
|
|
* 2011 would be written "2011/2012"). Other forms of content e.g. |
1436
|
|
|
* ScholarlyArticle, Book, TVSeries or TVEpisode may indicate their |
1437
|
|
|
* temporalCoverage in broader terms - textually or via well-known URL. |
1438
|
|
|
* Written works such as books may sometimes have precise temporal |
1439
|
|
|
* coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 |
1440
|
|
|
* interval format format via "1939/1945". |
1441
|
|
|
* |
1442
|
|
|
* Open-ended date ranges can be written with ".." in place of the end date. |
1443
|
|
|
* For example, "2015-11/.." indicates a range beginning in November 2015 |
1444
|
|
|
* and with no specified final date. This is tentative and might be updated |
1445
|
|
|
* in future when ISO 8601 is officially updated. |
1446
|
|
|
* |
1447
|
|
|
* @param \DateTimeInterface|\DateTimeInterface[]|string|string[] $temporalCoverage |
1448
|
|
|
* |
1449
|
|
|
* @return static |
1450
|
|
|
* |
1451
|
|
|
* @see http://schema.org/temporalCoverage |
1452
|
|
|
*/ |
1453
|
|
|
public function temporalCoverage($temporalCoverage) |
1454
|
|
|
{ |
1455
|
|
|
return $this->setProperty('temporalCoverage', $temporalCoverage); |
1456
|
|
|
} |
1457
|
|
|
|
1458
|
|
|
/** |
1459
|
|
|
* The textual content of this CreativeWork. |
1460
|
|
|
* |
1461
|
|
|
* @param string|string[] $text |
1462
|
|
|
* |
1463
|
|
|
* @return static |
1464
|
|
|
* |
1465
|
|
|
* @see http://schema.org/text |
1466
|
|
|
*/ |
1467
|
|
|
public function text($text) |
1468
|
|
|
{ |
1469
|
|
|
return $this->setProperty('text', $text); |
1470
|
|
|
} |
1471
|
|
|
|
1472
|
|
|
/** |
1473
|
|
|
* A thumbnail image relevant to the Thing. |
1474
|
|
|
* |
1475
|
|
|
* @param string|string[] $thumbnailUrl |
1476
|
|
|
* |
1477
|
|
|
* @return static |
1478
|
|
|
* |
1479
|
|
|
* @see http://schema.org/thumbnailUrl |
1480
|
|
|
*/ |
1481
|
|
|
public function thumbnailUrl($thumbnailUrl) |
1482
|
|
|
{ |
1483
|
|
|
return $this->setProperty('thumbnailUrl', $thumbnailUrl); |
1484
|
|
|
} |
1485
|
|
|
|
1486
|
|
|
/** |
1487
|
|
|
* Approximate or typical time it takes to work with or through this |
1488
|
|
|
* learning resource for the typical intended target audience, e.g. 'PT30M', |
1489
|
|
|
* 'PT1H25M'. |
1490
|
|
|
* |
1491
|
|
|
* @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired |
1492
|
|
|
* |
1493
|
|
|
* @return static |
1494
|
|
|
* |
1495
|
|
|
* @see http://schema.org/timeRequired |
1496
|
|
|
*/ |
1497
|
|
|
public function timeRequired($timeRequired) |
1498
|
|
|
{ |
1499
|
|
|
return $this->setProperty('timeRequired', $timeRequired); |
1500
|
|
|
} |
1501
|
|
|
|
1502
|
|
|
/** |
1503
|
|
|
* Organization or person who adapts a creative work to different languages, |
1504
|
|
|
* regional differences and technical requirements of a target market, or |
1505
|
|
|
* that translates during some event. |
1506
|
|
|
* |
1507
|
|
|
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $translator |
1508
|
|
|
* |
1509
|
|
|
* @return static |
1510
|
|
|
* |
1511
|
|
|
* @see http://schema.org/translator |
1512
|
|
|
*/ |
1513
|
|
|
public function translator($translator) |
1514
|
|
|
{ |
1515
|
|
|
return $this->setProperty('translator', $translator); |
1516
|
|
|
} |
1517
|
|
|
|
1518
|
|
|
/** |
1519
|
|
|
* The typical expected age range, e.g. '7-9', '11-'. |
1520
|
|
|
* |
1521
|
|
|
* @param string|string[] $typicalAgeRange |
1522
|
|
|
* |
1523
|
|
|
* @return static |
1524
|
|
|
* |
1525
|
|
|
* @see http://schema.org/typicalAgeRange |
1526
|
|
|
*/ |
1527
|
|
|
public function typicalAgeRange($typicalAgeRange) |
1528
|
|
|
{ |
1529
|
|
|
return $this->setProperty('typicalAgeRange', $typicalAgeRange); |
1530
|
|
|
} |
1531
|
|
|
|
1532
|
|
|
/** |
1533
|
|
|
* URL of the item. |
1534
|
|
|
* |
1535
|
|
|
* @param string|string[] $url |
1536
|
|
|
* |
1537
|
|
|
* @return static |
1538
|
|
|
* |
1539
|
|
|
* @see http://schema.org/url |
1540
|
|
|
*/ |
1541
|
|
|
public function url($url) |
1542
|
|
|
{ |
1543
|
|
|
return $this->setProperty('url', $url); |
1544
|
|
|
} |
1545
|
|
|
|
1546
|
|
|
/** |
1547
|
|
|
* The version of the CreativeWork embodied by a specified resource. |
1548
|
|
|
* |
1549
|
|
|
* @param float|float[]|int|int[]|string|string[] $version |
1550
|
|
|
* |
1551
|
|
|
* @return static |
1552
|
|
|
* |
1553
|
|
|
* @see http://schema.org/version |
1554
|
|
|
*/ |
1555
|
|
|
public function version($version) |
1556
|
|
|
{ |
1557
|
|
|
return $this->setProperty('version', $version); |
1558
|
|
|
} |
1559
|
|
|
|
1560
|
|
|
/** |
1561
|
|
|
* An embedded video object. |
1562
|
|
|
* |
1563
|
|
|
* @param \Spatie\SchemaOrg\Contracts\ClipContract|\Spatie\SchemaOrg\Contracts\ClipContract[]|\Spatie\SchemaOrg\Contracts\VideoObjectContract|\Spatie\SchemaOrg\Contracts\VideoObjectContract[] $video |
1564
|
|
|
* |
1565
|
|
|
* @return static |
1566
|
|
|
* |
1567
|
|
|
* @see http://schema.org/video |
1568
|
|
|
*/ |
1569
|
|
|
public function video($video) |
1570
|
|
|
{ |
1571
|
|
|
return $this->setProperty('video', $video); |
1572
|
|
|
} |
1573
|
|
|
|
1574
|
|
|
/** |
1575
|
|
|
* Example/instance/realization/derivation of the concept of this creative |
1576
|
|
|
* work. eg. The paperback edition, first edition, or eBook. |
1577
|
|
|
* |
1578
|
|
|
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workExample |
1579
|
|
|
* |
1580
|
|
|
* @return static |
1581
|
|
|
* |
1582
|
|
|
* @see http://schema.org/workExample |
1583
|
|
|
*/ |
1584
|
|
|
public function workExample($workExample) |
1585
|
|
|
{ |
1586
|
|
|
return $this->setProperty('workExample', $workExample); |
1587
|
|
|
} |
1588
|
|
|
|
1589
|
|
|
} |
1590
|
|
|
|