| @@ 18-1290 (lines=1273) @@ | ||
| 15 | * @see http://schema.org/CollegeOrUniversity |
|
| 16 | * |
|
| 17 | */ |
|
| 18 | class CollegeOrUniversity extends BaseType implements CollegeOrUniversityContract, CivicStructureContract, EducationalOrganizationContract, OrganizationContract, PlaceContract, ThingContract |
|
| 19 | { |
|
| 20 | /** |
|
| 21 | * A property-value pair representing an additional characteristics of the |
|
| 22 | * entitity, e.g. a product feature or another characteristic for which |
|
| 23 | * there is no matching property in schema.org. |
|
| 24 | * |
|
| 25 | * Note: Publishers should be aware that applications designed to use |
|
| 26 | * specific schema.org properties (e.g. http://schema.org/width, |
|
| 27 | * http://schema.org/color, http://schema.org/gtin13, ...) will typically |
|
| 28 | * expect such data to be provided using those properties, rather than using |
|
| 29 | * the generic property/value mechanism. |
|
| 30 | * |
|
| 31 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty |
|
| 32 | * |
|
| 33 | * @return static |
|
| 34 | * |
|
| 35 | * @see http://schema.org/additionalProperty |
|
| 36 | */ |
|
| 37 | public function additionalProperty($additionalProperty) |
|
| 38 | { |
|
| 39 | return $this->setProperty('additionalProperty', $additionalProperty); |
|
| 40 | } |
|
| 41 | ||
| 42 | /** |
|
| 43 | * An additional type for the item, typically used for adding more specific |
|
| 44 | * types from external vocabularies in microdata syntax. This is a |
|
| 45 | * relationship between something and a class that the thing is in. In RDFa |
|
| 46 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
| 47 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
| 48 | * understanding of extra types, in particular those defined externally. |
|
| 49 | * |
|
| 50 | * @param string|string[] $additionalType |
|
| 51 | * |
|
| 52 | * @return static |
|
| 53 | * |
|
| 54 | * @see http://schema.org/additionalType |
|
| 55 | */ |
|
| 56 | public function additionalType($additionalType) |
|
| 57 | { |
|
| 58 | return $this->setProperty('additionalType', $additionalType); |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * Physical address of the item. |
|
| 63 | * |
|
| 64 | * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address |
|
| 65 | * |
|
| 66 | * @return static |
|
| 67 | * |
|
| 68 | * @see http://schema.org/address |
|
| 69 | */ |
|
| 70 | public function address($address) |
|
| 71 | { |
|
| 72 | return $this->setProperty('address', $address); |
|
| 73 | } |
|
| 74 | ||
| 75 | /** |
|
| 76 | * The overall rating, based on a collection of reviews or ratings, of the |
|
| 77 | * item. |
|
| 78 | * |
|
| 79 | * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating |
|
| 80 | * |
|
| 81 | * @return static |
|
| 82 | * |
|
| 83 | * @see http://schema.org/aggregateRating |
|
| 84 | */ |
|
| 85 | public function aggregateRating($aggregateRating) |
|
| 86 | { |
|
| 87 | return $this->setProperty('aggregateRating', $aggregateRating); |
|
| 88 | } |
|
| 89 | ||
| 90 | /** |
|
| 91 | * An alias for the item. |
|
| 92 | * |
|
| 93 | * @param string|string[] $alternateName |
|
| 94 | * |
|
| 95 | * @return static |
|
| 96 | * |
|
| 97 | * @see http://schema.org/alternateName |
|
| 98 | */ |
|
| 99 | public function alternateName($alternateName) |
|
| 100 | { |
|
| 101 | return $this->setProperty('alternateName', $alternateName); |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * Alumni of an organization. |
|
| 106 | * |
|
| 107 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni |
|
| 108 | * |
|
| 109 | * @return static |
|
| 110 | * |
|
| 111 | * @see http://schema.org/alumni |
|
| 112 | */ |
|
| 113 | public function alumni($alumni) |
|
| 114 | { |
|
| 115 | return $this->setProperty('alumni', $alumni); |
|
| 116 | } |
|
| 117 | ||
| 118 | /** |
|
| 119 | * An amenity feature (e.g. a characteristic or service) of the |
|
| 120 | * Accommodation. This generic property does not make a statement about |
|
| 121 | * whether the feature is included in an offer for the main accommodation or |
|
| 122 | * available at extra costs. |
|
| 123 | * |
|
| 124 | * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature |
|
| 125 | * |
|
| 126 | * @return static |
|
| 127 | * |
|
| 128 | * @see http://schema.org/amenityFeature |
|
| 129 | */ |
|
| 130 | public function amenityFeature($amenityFeature) |
|
| 131 | { |
|
| 132 | return $this->setProperty('amenityFeature', $amenityFeature); |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * The geographic area where a service or offered item is provided. |
|
| 137 | * |
|
| 138 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed |
|
| 139 | * |
|
| 140 | * @return static |
|
| 141 | * |
|
| 142 | * @see http://schema.org/areaServed |
|
| 143 | */ |
|
| 144 | public function areaServed($areaServed) |
|
| 145 | { |
|
| 146 | return $this->setProperty('areaServed', $areaServed); |
|
| 147 | } |
|
| 148 | ||
| 149 | /** |
|
| 150 | * An award won by or for this item. |
|
| 151 | * |
|
| 152 | * @param string|string[] $award |
|
| 153 | * |
|
| 154 | * @return static |
|
| 155 | * |
|
| 156 | * @see http://schema.org/award |
|
| 157 | */ |
|
| 158 | public function award($award) |
|
| 159 | { |
|
| 160 | return $this->setProperty('award', $award); |
|
| 161 | } |
|
| 162 | ||
| 163 | /** |
|
| 164 | * Awards won by or for this item. |
|
| 165 | * |
|
| 166 | * @param string|string[] $awards |
|
| 167 | * |
|
| 168 | * @return static |
|
| 169 | * |
|
| 170 | * @see http://schema.org/awards |
|
| 171 | */ |
|
| 172 | public function awards($awards) |
|
| 173 | { |
|
| 174 | return $this->setProperty('awards', $awards); |
|
| 175 | } |
|
| 176 | ||
| 177 | /** |
|
| 178 | * A short textual code (also called "store code") that uniquely identifies |
|
| 179 | * a place of business. The code is typically assigned by the |
|
| 180 | * parentOrganization and used in structured URLs. |
|
| 181 | * |
|
| 182 | * For example, in the URL |
|
| 183 | * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" |
|
| 184 | * is a branchCode for a particular branch. |
|
| 185 | * |
|
| 186 | * @param string|string[] $branchCode |
|
| 187 | * |
|
| 188 | * @return static |
|
| 189 | * |
|
| 190 | * @see http://schema.org/branchCode |
|
| 191 | */ |
|
| 192 | public function branchCode($branchCode) |
|
| 193 | { |
|
| 194 | return $this->setProperty('branchCode', $branchCode); |
|
| 195 | } |
|
| 196 | ||
| 197 | /** |
|
| 198 | * The brand(s) associated with a product or service, or the brand(s) |
|
| 199 | * maintained by an organization or business person. |
|
| 200 | * |
|
| 201 | * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand |
|
| 202 | * |
|
| 203 | * @return static |
|
| 204 | * |
|
| 205 | * @see http://schema.org/brand |
|
| 206 | */ |
|
| 207 | public function brand($brand) |
|
| 208 | { |
|
| 209 | return $this->setProperty('brand', $brand); |
|
| 210 | } |
|
| 211 | ||
| 212 | /** |
|
| 213 | * A contact point for a person or organization. |
|
| 214 | * |
|
| 215 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint |
|
| 216 | * |
|
| 217 | * @return static |
|
| 218 | * |
|
| 219 | * @see http://schema.org/contactPoint |
|
| 220 | */ |
|
| 221 | public function contactPoint($contactPoint) |
|
| 222 | { |
|
| 223 | return $this->setProperty('contactPoint', $contactPoint); |
|
| 224 | } |
|
| 225 | ||
| 226 | /** |
|
| 227 | * A contact point for a person or organization. |
|
| 228 | * |
|
| 229 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints |
|
| 230 | * |
|
| 231 | * @return static |
|
| 232 | * |
|
| 233 | * @see http://schema.org/contactPoints |
|
| 234 | */ |
|
| 235 | public function contactPoints($contactPoints) |
|
| 236 | { |
|
| 237 | return $this->setProperty('contactPoints', $contactPoints); |
|
| 238 | } |
|
| 239 | ||
| 240 | /** |
|
| 241 | * The basic containment relation between a place and one that contains it. |
|
| 242 | * |
|
| 243 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn |
|
| 244 | * |
|
| 245 | * @return static |
|
| 246 | * |
|
| 247 | * @see http://schema.org/containedIn |
|
| 248 | */ |
|
| 249 | public function containedIn($containedIn) |
|
| 250 | { |
|
| 251 | return $this->setProperty('containedIn', $containedIn); |
|
| 252 | } |
|
| 253 | ||
| 254 | /** |
|
| 255 | * The basic containment relation between a place and one that contains it. |
|
| 256 | * |
|
| 257 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace |
|
| 258 | * |
|
| 259 | * @return static |
|
| 260 | * |
|
| 261 | * @see http://schema.org/containedInPlace |
|
| 262 | */ |
|
| 263 | public function containedInPlace($containedInPlace) |
|
| 264 | { |
|
| 265 | return $this->setProperty('containedInPlace', $containedInPlace); |
|
| 266 | } |
|
| 267 | ||
| 268 | /** |
|
| 269 | * The basic containment relation between a place and another that it |
|
| 270 | * contains. |
|
| 271 | * |
|
| 272 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace |
|
| 273 | * |
|
| 274 | * @return static |
|
| 275 | * |
|
| 276 | * @see http://schema.org/containsPlace |
|
| 277 | */ |
|
| 278 | public function containsPlace($containsPlace) |
|
| 279 | { |
|
| 280 | return $this->setProperty('containsPlace', $containsPlace); |
|
| 281 | } |
|
| 282 | ||
| 283 | /** |
|
| 284 | * A relationship between an organization and a department of that |
|
| 285 | * organization, also described as an organization (allowing different urls, |
|
| 286 | * logos, opening hours). For example: a store with a pharmacy, or a bakery |
|
| 287 | * with a cafe. |
|
| 288 | * |
|
| 289 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department |
|
| 290 | * |
|
| 291 | * @return static |
|
| 292 | * |
|
| 293 | * @see http://schema.org/department |
|
| 294 | */ |
|
| 295 | public function department($department) |
|
| 296 | { |
|
| 297 | return $this->setProperty('department', $department); |
|
| 298 | } |
|
| 299 | ||
| 300 | /** |
|
| 301 | * A description of the item. |
|
| 302 | * |
|
| 303 | * @param string|string[] $description |
|
| 304 | * |
|
| 305 | * @return static |
|
| 306 | * |
|
| 307 | * @see http://schema.org/description |
|
| 308 | */ |
|
| 309 | public function description($description) |
|
| 310 | { |
|
| 311 | return $this->setProperty('description', $description); |
|
| 312 | } |
|
| 313 | ||
| 314 | /** |
|
| 315 | * A sub property of description. A short description of the item used to |
|
| 316 | * disambiguate from other, similar items. Information from other properties |
|
| 317 | * (in particular, name) may be necessary for the description to be useful |
|
| 318 | * for disambiguation. |
|
| 319 | * |
|
| 320 | * @param string|string[] $disambiguatingDescription |
|
| 321 | * |
|
| 322 | * @return static |
|
| 323 | * |
|
| 324 | * @see http://schema.org/disambiguatingDescription |
|
| 325 | */ |
|
| 326 | public function disambiguatingDescription($disambiguatingDescription) |
|
| 327 | { |
|
| 328 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
| 329 | } |
|
| 330 | ||
| 331 | /** |
|
| 332 | * The date that this organization was dissolved. |
|
| 333 | * |
|
| 334 | * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate |
|
| 335 | * |
|
| 336 | * @return static |
|
| 337 | * |
|
| 338 | * @see http://schema.org/dissolutionDate |
|
| 339 | */ |
|
| 340 | public function dissolutionDate($dissolutionDate) |
|
| 341 | { |
|
| 342 | return $this->setProperty('dissolutionDate', $dissolutionDate); |
|
| 343 | } |
|
| 344 | ||
| 345 | /** |
|
| 346 | * The Dun & Bradstreet DUNS number for identifying an organization or |
|
| 347 | * business person. |
|
| 348 | * |
|
| 349 | * @param string|string[] $duns |
|
| 350 | * |
|
| 351 | * @return static |
|
| 352 | * |
|
| 353 | * @see http://schema.org/duns |
|
| 354 | */ |
|
| 355 | public function duns($duns) |
|
| 356 | { |
|
| 357 | return $this->setProperty('duns', $duns); |
|
| 358 | } |
|
| 359 | ||
| 360 | /** |
|
| 361 | * Email address. |
|
| 362 | * |
|
| 363 | * @param string|string[] $email |
|
| 364 | * |
|
| 365 | * @return static |
|
| 366 | * |
|
| 367 | * @see http://schema.org/email |
|
| 368 | */ |
|
| 369 | public function email($email) |
|
| 370 | { |
|
| 371 | return $this->setProperty('email', $email); |
|
| 372 | } |
|
| 373 | ||
| 374 | /** |
|
| 375 | * Someone working for this organization. |
|
| 376 | * |
|
| 377 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee |
|
| 378 | * |
|
| 379 | * @return static |
|
| 380 | * |
|
| 381 | * @see http://schema.org/employee |
|
| 382 | */ |
|
| 383 | public function employee($employee) |
|
| 384 | { |
|
| 385 | return $this->setProperty('employee', $employee); |
|
| 386 | } |
|
| 387 | ||
| 388 | /** |
|
| 389 | * People working for this organization. |
|
| 390 | * |
|
| 391 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees |
|
| 392 | * |
|
| 393 | * @return static |
|
| 394 | * |
|
| 395 | * @see http://schema.org/employees |
|
| 396 | */ |
|
| 397 | public function employees($employees) |
|
| 398 | { |
|
| 399 | return $this->setProperty('employees', $employees); |
|
| 400 | } |
|
| 401 | ||
| 402 | /** |
|
| 403 | * Upcoming or past event associated with this place, organization, or |
|
| 404 | * action. |
|
| 405 | * |
|
| 406 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event |
|
| 407 | * |
|
| 408 | * @return static |
|
| 409 | * |
|
| 410 | * @see http://schema.org/event |
|
| 411 | */ |
|
| 412 | public function event($event) |
|
| 413 | { |
|
| 414 | return $this->setProperty('event', $event); |
|
| 415 | } |
|
| 416 | ||
| 417 | /** |
|
| 418 | * Upcoming or past events associated with this place or organization. |
|
| 419 | * |
|
| 420 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events |
|
| 421 | * |
|
| 422 | * @return static |
|
| 423 | * |
|
| 424 | * @see http://schema.org/events |
|
| 425 | */ |
|
| 426 | public function events($events) |
|
| 427 | { |
|
| 428 | return $this->setProperty('events', $events); |
|
| 429 | } |
|
| 430 | ||
| 431 | /** |
|
| 432 | * The fax number. |
|
| 433 | * |
|
| 434 | * @param string|string[] $faxNumber |
|
| 435 | * |
|
| 436 | * @return static |
|
| 437 | * |
|
| 438 | * @see http://schema.org/faxNumber |
|
| 439 | */ |
|
| 440 | public function faxNumber($faxNumber) |
|
| 441 | { |
|
| 442 | return $this->setProperty('faxNumber', $faxNumber); |
|
| 443 | } |
|
| 444 | ||
| 445 | /** |
|
| 446 | * A person who founded this organization. |
|
| 447 | * |
|
| 448 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder |
|
| 449 | * |
|
| 450 | * @return static |
|
| 451 | * |
|
| 452 | * @see http://schema.org/founder |
|
| 453 | */ |
|
| 454 | public function founder($founder) |
|
| 455 | { |
|
| 456 | return $this->setProperty('founder', $founder); |
|
| 457 | } |
|
| 458 | ||
| 459 | /** |
|
| 460 | * A person who founded this organization. |
|
| 461 | * |
|
| 462 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders |
|
| 463 | * |
|
| 464 | * @return static |
|
| 465 | * |
|
| 466 | * @see http://schema.org/founders |
|
| 467 | */ |
|
| 468 | public function founders($founders) |
|
| 469 | { |
|
| 470 | return $this->setProperty('founders', $founders); |
|
| 471 | } |
|
| 472 | ||
| 473 | /** |
|
| 474 | * The date that this organization was founded. |
|
| 475 | * |
|
| 476 | * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate |
|
| 477 | * |
|
| 478 | * @return static |
|
| 479 | * |
|
| 480 | * @see http://schema.org/foundingDate |
|
| 481 | */ |
|
| 482 | public function foundingDate($foundingDate) |
|
| 483 | { |
|
| 484 | return $this->setProperty('foundingDate', $foundingDate); |
|
| 485 | } |
|
| 486 | ||
| 487 | /** |
|
| 488 | * The place where the Organization was founded. |
|
| 489 | * |
|
| 490 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation |
|
| 491 | * |
|
| 492 | * @return static |
|
| 493 | * |
|
| 494 | * @see http://schema.org/foundingLocation |
|
| 495 | */ |
|
| 496 | public function foundingLocation($foundingLocation) |
|
| 497 | { |
|
| 498 | return $this->setProperty('foundingLocation', $foundingLocation); |
|
| 499 | } |
|
| 500 | ||
| 501 | /** |
|
| 502 | * A person or organization that supports (sponsors) something through some |
|
| 503 | * kind of financial contribution. |
|
| 504 | * |
|
| 505 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder |
|
| 506 | * |
|
| 507 | * @return static |
|
| 508 | * |
|
| 509 | * @see http://schema.org/funder |
|
| 510 | */ |
|
| 511 | public function funder($funder) |
|
| 512 | { |
|
| 513 | return $this->setProperty('funder', $funder); |
|
| 514 | } |
|
| 515 | ||
| 516 | /** |
|
| 517 | * The geo coordinates of the place. |
|
| 518 | * |
|
| 519 | * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo |
|
| 520 | * |
|
| 521 | * @return static |
|
| 522 | * |
|
| 523 | * @see http://schema.org/geo |
|
| 524 | */ |
|
| 525 | public function geo($geo) |
|
| 526 | { |
|
| 527 | return $this->setProperty('geo', $geo); |
|
| 528 | } |
|
| 529 | ||
| 530 | /** |
|
| 531 | * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also |
|
| 532 | * referred to as International Location Number or ILN) of the respective |
|
| 533 | * organization, person, or place. The GLN is a 13-digit number used to |
|
| 534 | * identify parties and physical locations. |
|
| 535 | * |
|
| 536 | * @param string|string[] $globalLocationNumber |
|
| 537 | * |
|
| 538 | * @return static |
|
| 539 | * |
|
| 540 | * @see http://schema.org/globalLocationNumber |
|
| 541 | */ |
|
| 542 | public function globalLocationNumber($globalLocationNumber) |
|
| 543 | { |
|
| 544 | return $this->setProperty('globalLocationNumber', $globalLocationNumber); |
|
| 545 | } |
|
| 546 | ||
| 547 | /** |
|
| 548 | * A URL to a map of the place. |
|
| 549 | * |
|
| 550 | * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap |
|
| 551 | * |
|
| 552 | * @return static |
|
| 553 | * |
|
| 554 | * @see http://schema.org/hasMap |
|
| 555 | */ |
|
| 556 | public function hasMap($hasMap) |
|
| 557 | { |
|
| 558 | return $this->setProperty('hasMap', $hasMap); |
|
| 559 | } |
|
| 560 | ||
| 561 | /** |
|
| 562 | * Indicates an OfferCatalog listing for this Organization, Person, or |
|
| 563 | * Service. |
|
| 564 | * |
|
| 565 | * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog |
|
| 566 | * |
|
| 567 | * @return static |
|
| 568 | * |
|
| 569 | * @see http://schema.org/hasOfferCatalog |
|
| 570 | */ |
|
| 571 | public function hasOfferCatalog($hasOfferCatalog) |
|
| 572 | { |
|
| 573 | return $this->setProperty('hasOfferCatalog', $hasOfferCatalog); |
|
| 574 | } |
|
| 575 | ||
| 576 | /** |
|
| 577 | * Points-of-Sales operated by the organization or person. |
|
| 578 | * |
|
| 579 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS |
|
| 580 | * |
|
| 581 | * @return static |
|
| 582 | * |
|
| 583 | * @see http://schema.org/hasPOS |
|
| 584 | */ |
|
| 585 | public function hasPOS($hasPOS) |
|
| 586 | { |
|
| 587 | return $this->setProperty('hasPOS', $hasPOS); |
|
| 588 | } |
|
| 589 | ||
| 590 | /** |
|
| 591 | * The identifier property represents any kind of identifier for any kind of |
|
| 592 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
| 593 | * dedicated properties for representing many of these, either as textual |
|
| 594 | * strings or as URL (URI) links. See [background |
|
| 595 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
| 596 | * |
|
| 597 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
| 598 | * |
|
| 599 | * @return static |
|
| 600 | * |
|
| 601 | * @see http://schema.org/identifier |
|
| 602 | */ |
|
| 603 | public function identifier($identifier) |
|
| 604 | { |
|
| 605 | return $this->setProperty('identifier', $identifier); |
|
| 606 | } |
|
| 607 | ||
| 608 | /** |
|
| 609 | * An image of the item. This can be a [[URL]] or a fully described |
|
| 610 | * [[ImageObject]]. |
|
| 611 | * |
|
| 612 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
| 613 | * |
|
| 614 | * @return static |
|
| 615 | * |
|
| 616 | * @see http://schema.org/image |
|
| 617 | */ |
|
| 618 | public function image($image) |
|
| 619 | { |
|
| 620 | return $this->setProperty('image', $image); |
|
| 621 | } |
|
| 622 | ||
| 623 | /** |
|
| 624 | * A flag to signal that the item, event, or place is accessible for free. |
|
| 625 | * |
|
| 626 | * @param bool|bool[] $isAccessibleForFree |
|
| 627 | * |
|
| 628 | * @return static |
|
| 629 | * |
|
| 630 | * @see http://schema.org/isAccessibleForFree |
|
| 631 | */ |
|
| 632 | public function isAccessibleForFree($isAccessibleForFree) |
|
| 633 | { |
|
| 634 | return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); |
|
| 635 | } |
|
| 636 | ||
| 637 | /** |
|
| 638 | * The International Standard of Industrial Classification of All Economic |
|
| 639 | * Activities (ISIC), Revision 4 code for a particular organization, |
|
| 640 | * business person, or place. |
|
| 641 | * |
|
| 642 | * @param string|string[] $isicV4 |
|
| 643 | * |
|
| 644 | * @return static |
|
| 645 | * |
|
| 646 | * @see http://schema.org/isicV4 |
|
| 647 | */ |
|
| 648 | public function isicV4($isicV4) |
|
| 649 | { |
|
| 650 | return $this->setProperty('isicV4', $isicV4); |
|
| 651 | } |
|
| 652 | ||
| 653 | /** |
|
| 654 | * The latitude of a location. For example ```37.42242``` ([WGS |
|
| 655 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 656 | * |
|
| 657 | * @param float|float[]|int|int[]|string|string[] $latitude |
|
| 658 | * |
|
| 659 | * @return static |
|
| 660 | * |
|
| 661 | * @see http://schema.org/latitude |
|
| 662 | */ |
|
| 663 | public function latitude($latitude) |
|
| 664 | { |
|
| 665 | return $this->setProperty('latitude', $latitude); |
|
| 666 | } |
|
| 667 | ||
| 668 | /** |
|
| 669 | * The official name of the organization, e.g. the registered company name. |
|
| 670 | * |
|
| 671 | * @param string|string[] $legalName |
|
| 672 | * |
|
| 673 | * @return static |
|
| 674 | * |
|
| 675 | * @see http://schema.org/legalName |
|
| 676 | */ |
|
| 677 | public function legalName($legalName) |
|
| 678 | { |
|
| 679 | return $this->setProperty('legalName', $legalName); |
|
| 680 | } |
|
| 681 | ||
| 682 | /** |
|
| 683 | * An organization identifier that uniquely identifies a legal entity as |
|
| 684 | * defined in ISO 17442. |
|
| 685 | * |
|
| 686 | * @param string|string[] $leiCode |
|
| 687 | * |
|
| 688 | * @return static |
|
| 689 | * |
|
| 690 | * @see http://schema.org/leiCode |
|
| 691 | */ |
|
| 692 | public function leiCode($leiCode) |
|
| 693 | { |
|
| 694 | return $this->setProperty('leiCode', $leiCode); |
|
| 695 | } |
|
| 696 | ||
| 697 | /** |
|
| 698 | * The location of for example where the event is happening, an organization |
|
| 699 | * is located, or where an action takes place. |
|
| 700 | * |
|
| 701 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location |
|
| 702 | * |
|
| 703 | * @return static |
|
| 704 | * |
|
| 705 | * @see http://schema.org/location |
|
| 706 | */ |
|
| 707 | public function location($location) |
|
| 708 | { |
|
| 709 | return $this->setProperty('location', $location); |
|
| 710 | } |
|
| 711 | ||
| 712 | /** |
|
| 713 | * An associated logo. |
|
| 714 | * |
|
| 715 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo |
|
| 716 | * |
|
| 717 | * @return static |
|
| 718 | * |
|
| 719 | * @see http://schema.org/logo |
|
| 720 | */ |
|
| 721 | public function logo($logo) |
|
| 722 | { |
|
| 723 | return $this->setProperty('logo', $logo); |
|
| 724 | } |
|
| 725 | ||
| 726 | /** |
|
| 727 | * The longitude of a location. For example ```-122.08585``` ([WGS |
|
| 728 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 729 | * |
|
| 730 | * @param float|float[]|int|int[]|string|string[] $longitude |
|
| 731 | * |
|
| 732 | * @return static |
|
| 733 | * |
|
| 734 | * @see http://schema.org/longitude |
|
| 735 | */ |
|
| 736 | public function longitude($longitude) |
|
| 737 | { |
|
| 738 | return $this->setProperty('longitude', $longitude); |
|
| 739 | } |
|
| 740 | ||
| 741 | /** |
|
| 742 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
| 743 | * entity being described. See [background |
|
| 744 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
| 745 | * |
|
| 746 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
| 747 | * |
|
| 748 | * @return static |
|
| 749 | * |
|
| 750 | * @see http://schema.org/mainEntityOfPage |
|
| 751 | */ |
|
| 752 | public function mainEntityOfPage($mainEntityOfPage) |
|
| 753 | { |
|
| 754 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
| 755 | } |
|
| 756 | ||
| 757 | /** |
|
| 758 | * A pointer to products or services offered by the organization or person. |
|
| 759 | * |
|
| 760 | * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer |
|
| 761 | * |
|
| 762 | * @return static |
|
| 763 | * |
|
| 764 | * @see http://schema.org/makesOffer |
|
| 765 | */ |
|
| 766 | public function makesOffer($makesOffer) |
|
| 767 | { |
|
| 768 | return $this->setProperty('makesOffer', $makesOffer); |
|
| 769 | } |
|
| 770 | ||
| 771 | /** |
|
| 772 | * A URL to a map of the place. |
|
| 773 | * |
|
| 774 | * @param string|string[] $map |
|
| 775 | * |
|
| 776 | * @return static |
|
| 777 | * |
|
| 778 | * @see http://schema.org/map |
|
| 779 | */ |
|
| 780 | public function map($map) |
|
| 781 | { |
|
| 782 | return $this->setProperty('map', $map); |
|
| 783 | } |
|
| 784 | ||
| 785 | /** |
|
| 786 | * A URL to a map of the place. |
|
| 787 | * |
|
| 788 | * @param string|string[] $maps |
|
| 789 | * |
|
| 790 | * @return static |
|
| 791 | * |
|
| 792 | * @see http://schema.org/maps |
|
| 793 | */ |
|
| 794 | public function maps($maps) |
|
| 795 | { |
|
| 796 | return $this->setProperty('maps', $maps); |
|
| 797 | } |
|
| 798 | ||
| 799 | /** |
|
| 800 | * The total number of individuals that may attend an event or venue. |
|
| 801 | * |
|
| 802 | * @param int|int[] $maximumAttendeeCapacity |
|
| 803 | * |
|
| 804 | * @return static |
|
| 805 | * |
|
| 806 | * @see http://schema.org/maximumAttendeeCapacity |
|
| 807 | */ |
|
| 808 | public function maximumAttendeeCapacity($maximumAttendeeCapacity) |
|
| 809 | { |
|
| 810 | return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity); |
|
| 811 | } |
|
| 812 | ||
| 813 | /** |
|
| 814 | * A member of an Organization or a ProgramMembership. Organizations can be |
|
| 815 | * members of organizations; ProgramMembership is typically for individuals. |
|
| 816 | * |
|
| 817 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member |
|
| 818 | * |
|
| 819 | * @return static |
|
| 820 | * |
|
| 821 | * @see http://schema.org/member |
|
| 822 | */ |
|
| 823 | public function member($member) |
|
| 824 | { |
|
| 825 | return $this->setProperty('member', $member); |
|
| 826 | } |
|
| 827 | ||
| 828 | /** |
|
| 829 | * An Organization (or ProgramMembership) to which this Person or |
|
| 830 | * Organization belongs. |
|
| 831 | * |
|
| 832 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf |
|
| 833 | * |
|
| 834 | * @return static |
|
| 835 | * |
|
| 836 | * @see http://schema.org/memberOf |
|
| 837 | */ |
|
| 838 | public function memberOf($memberOf) |
|
| 839 | { |
|
| 840 | return $this->setProperty('memberOf', $memberOf); |
|
| 841 | } |
|
| 842 | ||
| 843 | /** |
|
| 844 | * A member of this organization. |
|
| 845 | * |
|
| 846 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members |
|
| 847 | * |
|
| 848 | * @return static |
|
| 849 | * |
|
| 850 | * @see http://schema.org/members |
|
| 851 | */ |
|
| 852 | public function members($members) |
|
| 853 | { |
|
| 854 | return $this->setProperty('members', $members); |
|
| 855 | } |
|
| 856 | ||
| 857 | /** |
|
| 858 | * The North American Industry Classification System (NAICS) code for a |
|
| 859 | * particular organization or business person. |
|
| 860 | * |
|
| 861 | * @param string|string[] $naics |
|
| 862 | * |
|
| 863 | * @return static |
|
| 864 | * |
|
| 865 | * @see http://schema.org/naics |
|
| 866 | */ |
|
| 867 | public function naics($naics) |
|
| 868 | { |
|
| 869 | return $this->setProperty('naics', $naics); |
|
| 870 | } |
|
| 871 | ||
| 872 | /** |
|
| 873 | * The name of the item. |
|
| 874 | * |
|
| 875 | * @param string|string[] $name |
|
| 876 | * |
|
| 877 | * @return static |
|
| 878 | * |
|
| 879 | * @see http://schema.org/name |
|
| 880 | */ |
|
| 881 | public function name($name) |
|
| 882 | { |
|
| 883 | return $this->setProperty('name', $name); |
|
| 884 | } |
|
| 885 | ||
| 886 | /** |
|
| 887 | * The number of employees in an organization e.g. business. |
|
| 888 | * |
|
| 889 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees |
|
| 890 | * |
|
| 891 | * @return static |
|
| 892 | * |
|
| 893 | * @see http://schema.org/numberOfEmployees |
|
| 894 | */ |
|
| 895 | public function numberOfEmployees($numberOfEmployees) |
|
| 896 | { |
|
| 897 | return $this->setProperty('numberOfEmployees', $numberOfEmployees); |
|
| 898 | } |
|
| 899 | ||
| 900 | /** |
|
| 901 | * A pointer to the organization or person making the offer. |
|
| 902 | * |
|
| 903 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy |
|
| 904 | * |
|
| 905 | * @return static |
|
| 906 | * |
|
| 907 | * @see http://schema.org/offeredBy |
|
| 908 | */ |
|
| 909 | public function offeredBy($offeredBy) |
|
| 910 | { |
|
| 911 | return $this->setProperty('offeredBy', $offeredBy); |
|
| 912 | } |
|
| 913 | ||
| 914 | /** |
|
| 915 | * The general opening hours for a business. Opening hours can be specified |
|
| 916 | * as a weekly time range, starting with days, then times per day. Multiple |
|
| 917 | * days can be listed with commas ',' separating each day. Day or time |
|
| 918 | * ranges are specified using a hyphen '-'. |
|
| 919 | * |
|
| 920 | * * Days are specified using the following two-letter combinations: |
|
| 921 | * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. |
|
| 922 | * * Times are specified using 24:00 time. For example, 3pm is specified as |
|
| 923 | * ```15:00```. |
|
| 924 | * * Here is an example: <code><time itemprop="openingHours" |
|
| 925 | * datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays |
|
| 926 | * 4-8pm</time></code>. |
|
| 927 | * * If a business is open 7 days a week, then it can be specified as |
|
| 928 | * <code><time itemprop="openingHours" |
|
| 929 | * datetime="Mo-Su">Monday through Sunday, all |
|
| 930 | * day</time></code>. |
|
| 931 | * |
|
| 932 | * @param string|string[] $openingHours |
|
| 933 | * |
|
| 934 | * @return static |
|
| 935 | * |
|
| 936 | * @see http://schema.org/openingHours |
|
| 937 | */ |
|
| 938 | public function openingHours($openingHours) |
|
| 939 | { |
|
| 940 | return $this->setProperty('openingHours', $openingHours); |
|
| 941 | } |
|
| 942 | ||
| 943 | /** |
|
| 944 | * The opening hours of a certain place. |
|
| 945 | * |
|
| 946 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification |
|
| 947 | * |
|
| 948 | * @return static |
|
| 949 | * |
|
| 950 | * @see http://schema.org/openingHoursSpecification |
|
| 951 | */ |
|
| 952 | public function openingHoursSpecification($openingHoursSpecification) |
|
| 953 | { |
|
| 954 | return $this->setProperty('openingHoursSpecification', $openingHoursSpecification); |
|
| 955 | } |
|
| 956 | ||
| 957 | /** |
|
| 958 | * Products owned by the organization or person. |
|
| 959 | * |
|
| 960 | * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns |
|
| 961 | * |
|
| 962 | * @return static |
|
| 963 | * |
|
| 964 | * @see http://schema.org/owns |
|
| 965 | */ |
|
| 966 | public function owns($owns) |
|
| 967 | { |
|
| 968 | return $this->setProperty('owns', $owns); |
|
| 969 | } |
|
| 970 | ||
| 971 | /** |
|
| 972 | * The larger organization that this organization is a [[subOrganization]] |
|
| 973 | * of, if any. |
|
| 974 | * |
|
| 975 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization |
|
| 976 | * |
|
| 977 | * @return static |
|
| 978 | * |
|
| 979 | * @see http://schema.org/parentOrganization |
|
| 980 | */ |
|
| 981 | public function parentOrganization($parentOrganization) |
|
| 982 | { |
|
| 983 | return $this->setProperty('parentOrganization', $parentOrganization); |
|
| 984 | } |
|
| 985 | ||
| 986 | /** |
|
| 987 | * A photograph of this place. |
|
| 988 | * |
|
| 989 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo |
|
| 990 | * |
|
| 991 | * @return static |
|
| 992 | * |
|
| 993 | * @see http://schema.org/photo |
|
| 994 | */ |
|
| 995 | public function photo($photo) |
|
| 996 | { |
|
| 997 | return $this->setProperty('photo', $photo); |
|
| 998 | } |
|
| 999 | ||
| 1000 | /** |
|
| 1001 | * Photographs of this place. |
|
| 1002 | * |
|
| 1003 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos |
|
| 1004 | * |
|
| 1005 | * @return static |
|
| 1006 | * |
|
| 1007 | * @see http://schema.org/photos |
|
| 1008 | */ |
|
| 1009 | public function photos($photos) |
|
| 1010 | { |
|
| 1011 | return $this->setProperty('photos', $photos); |
|
| 1012 | } |
|
| 1013 | ||
| 1014 | /** |
|
| 1015 | * Indicates a potential Action, which describes an idealized action in |
|
| 1016 | * which this thing would play an 'object' role. |
|
| 1017 | * |
|
| 1018 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
| 1019 | * |
|
| 1020 | * @return static |
|
| 1021 | * |
|
| 1022 | * @see http://schema.org/potentialAction |
|
| 1023 | */ |
|
| 1024 | public function potentialAction($potentialAction) |
|
| 1025 | { |
|
| 1026 | return $this->setProperty('potentialAction', $potentialAction); |
|
| 1027 | } |
|
| 1028 | ||
| 1029 | /** |
|
| 1030 | * A flag to signal that the [[Place]] is open to public visitors. If this |
|
| 1031 | * property is omitted there is no assumed default boolean value |
|
| 1032 | * |
|
| 1033 | * @param bool|bool[] $publicAccess |
|
| 1034 | * |
|
| 1035 | * @return static |
|
| 1036 | * |
|
| 1037 | * @see http://schema.org/publicAccess |
|
| 1038 | */ |
|
| 1039 | public function publicAccess($publicAccess) |
|
| 1040 | { |
|
| 1041 | return $this->setProperty('publicAccess', $publicAccess); |
|
| 1042 | } |
|
| 1043 | ||
| 1044 | /** |
|
| 1045 | * The publishingPrinciples property indicates (typically via [[URL]]) a |
|
| 1046 | * document describing the editorial principles of an [[Organization]] (or |
|
| 1047 | * individual e.g. a [[Person]] writing a blog) that relate to their |
|
| 1048 | * activities as a publisher, e.g. ethics or diversity policies. When |
|
| 1049 | * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are |
|
| 1050 | * those of the party primarily responsible for the creation of the |
|
| 1051 | * [[CreativeWork]]. |
|
| 1052 | * |
|
| 1053 | * While such policies are most typically expressed in natural language, |
|
| 1054 | * sometimes related information (e.g. indicating a [[funder]]) can be |
|
| 1055 | * expressed using schema.org terminology. |
|
| 1056 | * |
|
| 1057 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples |
|
| 1058 | * |
|
| 1059 | * @return static |
|
| 1060 | * |
|
| 1061 | * @see http://schema.org/publishingPrinciples |
|
| 1062 | */ |
|
| 1063 | public function publishingPrinciples($publishingPrinciples) |
|
| 1064 | { |
|
| 1065 | return $this->setProperty('publishingPrinciples', $publishingPrinciples); |
|
| 1066 | } |
|
| 1067 | ||
| 1068 | /** |
|
| 1069 | * A review of the item. |
|
| 1070 | * |
|
| 1071 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review |
|
| 1072 | * |
|
| 1073 | * @return static |
|
| 1074 | * |
|
| 1075 | * @see http://schema.org/review |
|
| 1076 | */ |
|
| 1077 | public function review($review) |
|
| 1078 | { |
|
| 1079 | return $this->setProperty('review', $review); |
|
| 1080 | } |
|
| 1081 | ||
| 1082 | /** |
|
| 1083 | * Review of the item. |
|
| 1084 | * |
|
| 1085 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews |
|
| 1086 | * |
|
| 1087 | * @return static |
|
| 1088 | * |
|
| 1089 | * @see http://schema.org/reviews |
|
| 1090 | */ |
|
| 1091 | public function reviews($reviews) |
|
| 1092 | { |
|
| 1093 | return $this->setProperty('reviews', $reviews); |
|
| 1094 | } |
|
| 1095 | ||
| 1096 | /** |
|
| 1097 | * URL of a reference Web page that unambiguously indicates the item's |
|
| 1098 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
| 1099 | * official website. |
|
| 1100 | * |
|
| 1101 | * @param string|string[] $sameAs |
|
| 1102 | * |
|
| 1103 | * @return static |
|
| 1104 | * |
|
| 1105 | * @see http://schema.org/sameAs |
|
| 1106 | */ |
|
| 1107 | public function sameAs($sameAs) |
|
| 1108 | { |
|
| 1109 | return $this->setProperty('sameAs', $sameAs); |
|
| 1110 | } |
|
| 1111 | ||
| 1112 | /** |
|
| 1113 | * A pointer to products or services sought by the organization or person |
|
| 1114 | * (demand). |
|
| 1115 | * |
|
| 1116 | * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks |
|
| 1117 | * |
|
| 1118 | * @return static |
|
| 1119 | * |
|
| 1120 | * @see http://schema.org/seeks |
|
| 1121 | */ |
|
| 1122 | public function seeks($seeks) |
|
| 1123 | { |
|
| 1124 | return $this->setProperty('seeks', $seeks); |
|
| 1125 | } |
|
| 1126 | ||
| 1127 | /** |
|
| 1128 | * The geographic area where the service is provided. |
|
| 1129 | * |
|
| 1130 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea |
|
| 1131 | * |
|
| 1132 | * @return static |
|
| 1133 | * |
|
| 1134 | * @see http://schema.org/serviceArea |
|
| 1135 | */ |
|
| 1136 | public function serviceArea($serviceArea) |
|
| 1137 | { |
|
| 1138 | return $this->setProperty('serviceArea', $serviceArea); |
|
| 1139 | } |
|
| 1140 | ||
| 1141 | /** |
|
| 1142 | * A slogan or motto associated with the item. |
|
| 1143 | * |
|
| 1144 | * @param string|string[] $slogan |
|
| 1145 | * |
|
| 1146 | * @return static |
|
| 1147 | * |
|
| 1148 | * @see http://schema.org/slogan |
|
| 1149 | */ |
|
| 1150 | public function slogan($slogan) |
|
| 1151 | { |
|
| 1152 | return $this->setProperty('slogan', $slogan); |
|
| 1153 | } |
|
| 1154 | ||
| 1155 | /** |
|
| 1156 | * Indicates whether it is allowed to smoke in the place, e.g. in the |
|
| 1157 | * restaurant, hotel or hotel room. |
|
| 1158 | * |
|
| 1159 | * @param bool|bool[] $smokingAllowed |
|
| 1160 | * |
|
| 1161 | * @return static |
|
| 1162 | * |
|
| 1163 | * @see http://schema.org/smokingAllowed |
|
| 1164 | */ |
|
| 1165 | public function smokingAllowed($smokingAllowed) |
|
| 1166 | { |
|
| 1167 | return $this->setProperty('smokingAllowed', $smokingAllowed); |
|
| 1168 | } |
|
| 1169 | ||
| 1170 | /** |
|
| 1171 | * The special opening hours of a certain place. |
|
| 1172 | * |
|
| 1173 | * Use this to explicitly override general opening hours brought in scope by |
|
| 1174 | * [[openingHoursSpecification]] or [[openingHours]]. |
|
| 1175 | * |
|
| 1176 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification |
|
| 1177 | * |
|
| 1178 | * @return static |
|
| 1179 | * |
|
| 1180 | * @see http://schema.org/specialOpeningHoursSpecification |
|
| 1181 | */ |
|
| 1182 | public function specialOpeningHoursSpecification($specialOpeningHoursSpecification) |
|
| 1183 | { |
|
| 1184 | return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification); |
|
| 1185 | } |
|
| 1186 | ||
| 1187 | /** |
|
| 1188 | * A person or organization that supports a thing through a pledge, promise, |
|
| 1189 | * or financial contribution. e.g. a sponsor of a Medical Study or a |
|
| 1190 | * corporate sponsor of an event. |
|
| 1191 | * |
|
| 1192 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor |
|
| 1193 | * |
|
| 1194 | * @return static |
|
| 1195 | * |
|
| 1196 | * @see http://schema.org/sponsor |
|
| 1197 | */ |
|
| 1198 | public function sponsor($sponsor) |
|
| 1199 | { |
|
| 1200 | return $this->setProperty('sponsor', $sponsor); |
|
| 1201 | } |
|
| 1202 | ||
| 1203 | /** |
|
| 1204 | * A relationship between two organizations where the first includes the |
|
| 1205 | * second, e.g., as a subsidiary. See also: the more specific 'department' |
|
| 1206 | * property. |
|
| 1207 | * |
|
| 1208 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization |
|
| 1209 | * |
|
| 1210 | * @return static |
|
| 1211 | * |
|
| 1212 | * @see http://schema.org/subOrganization |
|
| 1213 | */ |
|
| 1214 | public function subOrganization($subOrganization) |
|
| 1215 | { |
|
| 1216 | return $this->setProperty('subOrganization', $subOrganization); |
|
| 1217 | } |
|
| 1218 | ||
| 1219 | /** |
|
| 1220 | * A CreativeWork or Event about this Thing. |
|
| 1221 | * |
|
| 1222 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
| 1223 | * |
|
| 1224 | * @return static |
|
| 1225 | * |
|
| 1226 | * @see http://schema.org/subjectOf |
|
| 1227 | */ |
|
| 1228 | public function subjectOf($subjectOf) |
|
| 1229 | { |
|
| 1230 | return $this->setProperty('subjectOf', $subjectOf); |
|
| 1231 | } |
|
| 1232 | ||
| 1233 | /** |
|
| 1234 | * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US |
|
| 1235 | * or the CIF/NIF in Spain. |
|
| 1236 | * |
|
| 1237 | * @param string|string[] $taxID |
|
| 1238 | * |
|
| 1239 | * @return static |
|
| 1240 | * |
|
| 1241 | * @see http://schema.org/taxID |
|
| 1242 | */ |
|
| 1243 | public function taxID($taxID) |
|
| 1244 | { |
|
| 1245 | return $this->setProperty('taxID', $taxID); |
|
| 1246 | } |
|
| 1247 | ||
| 1248 | /** |
|
| 1249 | * The telephone number. |
|
| 1250 | * |
|
| 1251 | * @param string|string[] $telephone |
|
| 1252 | * |
|
| 1253 | * @return static |
|
| 1254 | * |
|
| 1255 | * @see http://schema.org/telephone |
|
| 1256 | */ |
|
| 1257 | public function telephone($telephone) |
|
| 1258 | { |
|
| 1259 | return $this->setProperty('telephone', $telephone); |
|
| 1260 | } |
|
| 1261 | ||
| 1262 | /** |
|
| 1263 | * URL of the item. |
|
| 1264 | * |
|
| 1265 | * @param string|string[] $url |
|
| 1266 | * |
|
| 1267 | * @return static |
|
| 1268 | * |
|
| 1269 | * @see http://schema.org/url |
|
| 1270 | */ |
|
| 1271 | public function url($url) |
|
| 1272 | { |
|
| 1273 | return $this->setProperty('url', $url); |
|
| 1274 | } |
|
| 1275 | ||
| 1276 | /** |
|
| 1277 | * The Value-added Tax ID of the organization or person. |
|
| 1278 | * |
|
| 1279 | * @param string|string[] $vatID |
|
| 1280 | * |
|
| 1281 | * @return static |
|
| 1282 | * |
|
| 1283 | * @see http://schema.org/vatID |
|
| 1284 | */ |
|
| 1285 | public function vatID($vatID) |
|
| 1286 | { |
|
| 1287 | return $this->setProperty('vatID', $vatID); |
|
| 1288 | } |
|
| 1289 | ||
| 1290 | } |
|
| 1291 | ||
| @@ 17-1289 (lines=1273) @@ | ||
| 14 | * @see http://schema.org/EducationalOrganization |
|
| 15 | * |
|
| 16 | */ |
|
| 17 | class EducationalOrganization extends BaseType implements EducationalOrganizationContract, CivicStructureContract, OrganizationContract, PlaceContract, ThingContract |
|
| 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 | * Alumni of an organization. |
|
| 105 | * |
|
| 106 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni |
|
| 107 | * |
|
| 108 | * @return static |
|
| 109 | * |
|
| 110 | * @see http://schema.org/alumni |
|
| 111 | */ |
|
| 112 | public function alumni($alumni) |
|
| 113 | { |
|
| 114 | return $this->setProperty('alumni', $alumni); |
|
| 115 | } |
|
| 116 | ||
| 117 | /** |
|
| 118 | * An amenity feature (e.g. a characteristic or service) of the |
|
| 119 | * Accommodation. This generic property does not make a statement about |
|
| 120 | * whether the feature is included in an offer for the main accommodation or |
|
| 121 | * available at extra costs. |
|
| 122 | * |
|
| 123 | * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature |
|
| 124 | * |
|
| 125 | * @return static |
|
| 126 | * |
|
| 127 | * @see http://schema.org/amenityFeature |
|
| 128 | */ |
|
| 129 | public function amenityFeature($amenityFeature) |
|
| 130 | { |
|
| 131 | return $this->setProperty('amenityFeature', $amenityFeature); |
|
| 132 | } |
|
| 133 | ||
| 134 | /** |
|
| 135 | * The geographic area where a service or offered item is provided. |
|
| 136 | * |
|
| 137 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed |
|
| 138 | * |
|
| 139 | * @return static |
|
| 140 | * |
|
| 141 | * @see http://schema.org/areaServed |
|
| 142 | */ |
|
| 143 | public function areaServed($areaServed) |
|
| 144 | { |
|
| 145 | return $this->setProperty('areaServed', $areaServed); |
|
| 146 | } |
|
| 147 | ||
| 148 | /** |
|
| 149 | * An award won by or for this item. |
|
| 150 | * |
|
| 151 | * @param string|string[] $award |
|
| 152 | * |
|
| 153 | * @return static |
|
| 154 | * |
|
| 155 | * @see http://schema.org/award |
|
| 156 | */ |
|
| 157 | public function award($award) |
|
| 158 | { |
|
| 159 | return $this->setProperty('award', $award); |
|
| 160 | } |
|
| 161 | ||
| 162 | /** |
|
| 163 | * Awards won by or for this item. |
|
| 164 | * |
|
| 165 | * @param string|string[] $awards |
|
| 166 | * |
|
| 167 | * @return static |
|
| 168 | * |
|
| 169 | * @see http://schema.org/awards |
|
| 170 | */ |
|
| 171 | public function awards($awards) |
|
| 172 | { |
|
| 173 | return $this->setProperty('awards', $awards); |
|
| 174 | } |
|
| 175 | ||
| 176 | /** |
|
| 177 | * A short textual code (also called "store code") that uniquely identifies |
|
| 178 | * a place of business. The code is typically assigned by the |
|
| 179 | * parentOrganization and used in structured URLs. |
|
| 180 | * |
|
| 181 | * For example, in the URL |
|
| 182 | * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" |
|
| 183 | * is a branchCode for a particular branch. |
|
| 184 | * |
|
| 185 | * @param string|string[] $branchCode |
|
| 186 | * |
|
| 187 | * @return static |
|
| 188 | * |
|
| 189 | * @see http://schema.org/branchCode |
|
| 190 | */ |
|
| 191 | public function branchCode($branchCode) |
|
| 192 | { |
|
| 193 | return $this->setProperty('branchCode', $branchCode); |
|
| 194 | } |
|
| 195 | ||
| 196 | /** |
|
| 197 | * The brand(s) associated with a product or service, or the brand(s) |
|
| 198 | * maintained by an organization or business person. |
|
| 199 | * |
|
| 200 | * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand |
|
| 201 | * |
|
| 202 | * @return static |
|
| 203 | * |
|
| 204 | * @see http://schema.org/brand |
|
| 205 | */ |
|
| 206 | public function brand($brand) |
|
| 207 | { |
|
| 208 | return $this->setProperty('brand', $brand); |
|
| 209 | } |
|
| 210 | ||
| 211 | /** |
|
| 212 | * A contact point for a person or organization. |
|
| 213 | * |
|
| 214 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint |
|
| 215 | * |
|
| 216 | * @return static |
|
| 217 | * |
|
| 218 | * @see http://schema.org/contactPoint |
|
| 219 | */ |
|
| 220 | public function contactPoint($contactPoint) |
|
| 221 | { |
|
| 222 | return $this->setProperty('contactPoint', $contactPoint); |
|
| 223 | } |
|
| 224 | ||
| 225 | /** |
|
| 226 | * A contact point for a person or organization. |
|
| 227 | * |
|
| 228 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints |
|
| 229 | * |
|
| 230 | * @return static |
|
| 231 | * |
|
| 232 | * @see http://schema.org/contactPoints |
|
| 233 | */ |
|
| 234 | public function contactPoints($contactPoints) |
|
| 235 | { |
|
| 236 | return $this->setProperty('contactPoints', $contactPoints); |
|
| 237 | } |
|
| 238 | ||
| 239 | /** |
|
| 240 | * The basic containment relation between a place and one that contains it. |
|
| 241 | * |
|
| 242 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn |
|
| 243 | * |
|
| 244 | * @return static |
|
| 245 | * |
|
| 246 | * @see http://schema.org/containedIn |
|
| 247 | */ |
|
| 248 | public function containedIn($containedIn) |
|
| 249 | { |
|
| 250 | return $this->setProperty('containedIn', $containedIn); |
|
| 251 | } |
|
| 252 | ||
| 253 | /** |
|
| 254 | * The basic containment relation between a place and one that contains it. |
|
| 255 | * |
|
| 256 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace |
|
| 257 | * |
|
| 258 | * @return static |
|
| 259 | * |
|
| 260 | * @see http://schema.org/containedInPlace |
|
| 261 | */ |
|
| 262 | public function containedInPlace($containedInPlace) |
|
| 263 | { |
|
| 264 | return $this->setProperty('containedInPlace', $containedInPlace); |
|
| 265 | } |
|
| 266 | ||
| 267 | /** |
|
| 268 | * The basic containment relation between a place and another that it |
|
| 269 | * contains. |
|
| 270 | * |
|
| 271 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace |
|
| 272 | * |
|
| 273 | * @return static |
|
| 274 | * |
|
| 275 | * @see http://schema.org/containsPlace |
|
| 276 | */ |
|
| 277 | public function containsPlace($containsPlace) |
|
| 278 | { |
|
| 279 | return $this->setProperty('containsPlace', $containsPlace); |
|
| 280 | } |
|
| 281 | ||
| 282 | /** |
|
| 283 | * A relationship between an organization and a department of that |
|
| 284 | * organization, also described as an organization (allowing different urls, |
|
| 285 | * logos, opening hours). For example: a store with a pharmacy, or a bakery |
|
| 286 | * with a cafe. |
|
| 287 | * |
|
| 288 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department |
|
| 289 | * |
|
| 290 | * @return static |
|
| 291 | * |
|
| 292 | * @see http://schema.org/department |
|
| 293 | */ |
|
| 294 | public function department($department) |
|
| 295 | { |
|
| 296 | return $this->setProperty('department', $department); |
|
| 297 | } |
|
| 298 | ||
| 299 | /** |
|
| 300 | * A description of the item. |
|
| 301 | * |
|
| 302 | * @param string|string[] $description |
|
| 303 | * |
|
| 304 | * @return static |
|
| 305 | * |
|
| 306 | * @see http://schema.org/description |
|
| 307 | */ |
|
| 308 | public function description($description) |
|
| 309 | { |
|
| 310 | return $this->setProperty('description', $description); |
|
| 311 | } |
|
| 312 | ||
| 313 | /** |
|
| 314 | * A sub property of description. A short description of the item used to |
|
| 315 | * disambiguate from other, similar items. Information from other properties |
|
| 316 | * (in particular, name) may be necessary for the description to be useful |
|
| 317 | * for disambiguation. |
|
| 318 | * |
|
| 319 | * @param string|string[] $disambiguatingDescription |
|
| 320 | * |
|
| 321 | * @return static |
|
| 322 | * |
|
| 323 | * @see http://schema.org/disambiguatingDescription |
|
| 324 | */ |
|
| 325 | public function disambiguatingDescription($disambiguatingDescription) |
|
| 326 | { |
|
| 327 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
| 328 | } |
|
| 329 | ||
| 330 | /** |
|
| 331 | * The date that this organization was dissolved. |
|
| 332 | * |
|
| 333 | * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate |
|
| 334 | * |
|
| 335 | * @return static |
|
| 336 | * |
|
| 337 | * @see http://schema.org/dissolutionDate |
|
| 338 | */ |
|
| 339 | public function dissolutionDate($dissolutionDate) |
|
| 340 | { |
|
| 341 | return $this->setProperty('dissolutionDate', $dissolutionDate); |
|
| 342 | } |
|
| 343 | ||
| 344 | /** |
|
| 345 | * The Dun & Bradstreet DUNS number for identifying an organization or |
|
| 346 | * business person. |
|
| 347 | * |
|
| 348 | * @param string|string[] $duns |
|
| 349 | * |
|
| 350 | * @return static |
|
| 351 | * |
|
| 352 | * @see http://schema.org/duns |
|
| 353 | */ |
|
| 354 | public function duns($duns) |
|
| 355 | { |
|
| 356 | return $this->setProperty('duns', $duns); |
|
| 357 | } |
|
| 358 | ||
| 359 | /** |
|
| 360 | * Email address. |
|
| 361 | * |
|
| 362 | * @param string|string[] $email |
|
| 363 | * |
|
| 364 | * @return static |
|
| 365 | * |
|
| 366 | * @see http://schema.org/email |
|
| 367 | */ |
|
| 368 | public function email($email) |
|
| 369 | { |
|
| 370 | return $this->setProperty('email', $email); |
|
| 371 | } |
|
| 372 | ||
| 373 | /** |
|
| 374 | * Someone working for this organization. |
|
| 375 | * |
|
| 376 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee |
|
| 377 | * |
|
| 378 | * @return static |
|
| 379 | * |
|
| 380 | * @see http://schema.org/employee |
|
| 381 | */ |
|
| 382 | public function employee($employee) |
|
| 383 | { |
|
| 384 | return $this->setProperty('employee', $employee); |
|
| 385 | } |
|
| 386 | ||
| 387 | /** |
|
| 388 | * People working for this organization. |
|
| 389 | * |
|
| 390 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees |
|
| 391 | * |
|
| 392 | * @return static |
|
| 393 | * |
|
| 394 | * @see http://schema.org/employees |
|
| 395 | */ |
|
| 396 | public function employees($employees) |
|
| 397 | { |
|
| 398 | return $this->setProperty('employees', $employees); |
|
| 399 | } |
|
| 400 | ||
| 401 | /** |
|
| 402 | * Upcoming or past event associated with this place, organization, or |
|
| 403 | * action. |
|
| 404 | * |
|
| 405 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event |
|
| 406 | * |
|
| 407 | * @return static |
|
| 408 | * |
|
| 409 | * @see http://schema.org/event |
|
| 410 | */ |
|
| 411 | public function event($event) |
|
| 412 | { |
|
| 413 | return $this->setProperty('event', $event); |
|
| 414 | } |
|
| 415 | ||
| 416 | /** |
|
| 417 | * Upcoming or past events associated with this place or organization. |
|
| 418 | * |
|
| 419 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events |
|
| 420 | * |
|
| 421 | * @return static |
|
| 422 | * |
|
| 423 | * @see http://schema.org/events |
|
| 424 | */ |
|
| 425 | public function events($events) |
|
| 426 | { |
|
| 427 | return $this->setProperty('events', $events); |
|
| 428 | } |
|
| 429 | ||
| 430 | /** |
|
| 431 | * The fax number. |
|
| 432 | * |
|
| 433 | * @param string|string[] $faxNumber |
|
| 434 | * |
|
| 435 | * @return static |
|
| 436 | * |
|
| 437 | * @see http://schema.org/faxNumber |
|
| 438 | */ |
|
| 439 | public function faxNumber($faxNumber) |
|
| 440 | { |
|
| 441 | return $this->setProperty('faxNumber', $faxNumber); |
|
| 442 | } |
|
| 443 | ||
| 444 | /** |
|
| 445 | * A person who founded this organization. |
|
| 446 | * |
|
| 447 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder |
|
| 448 | * |
|
| 449 | * @return static |
|
| 450 | * |
|
| 451 | * @see http://schema.org/founder |
|
| 452 | */ |
|
| 453 | public function founder($founder) |
|
| 454 | { |
|
| 455 | return $this->setProperty('founder', $founder); |
|
| 456 | } |
|
| 457 | ||
| 458 | /** |
|
| 459 | * A person who founded this organization. |
|
| 460 | * |
|
| 461 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders |
|
| 462 | * |
|
| 463 | * @return static |
|
| 464 | * |
|
| 465 | * @see http://schema.org/founders |
|
| 466 | */ |
|
| 467 | public function founders($founders) |
|
| 468 | { |
|
| 469 | return $this->setProperty('founders', $founders); |
|
| 470 | } |
|
| 471 | ||
| 472 | /** |
|
| 473 | * The date that this organization was founded. |
|
| 474 | * |
|
| 475 | * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate |
|
| 476 | * |
|
| 477 | * @return static |
|
| 478 | * |
|
| 479 | * @see http://schema.org/foundingDate |
|
| 480 | */ |
|
| 481 | public function foundingDate($foundingDate) |
|
| 482 | { |
|
| 483 | return $this->setProperty('foundingDate', $foundingDate); |
|
| 484 | } |
|
| 485 | ||
| 486 | /** |
|
| 487 | * The place where the Organization was founded. |
|
| 488 | * |
|
| 489 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation |
|
| 490 | * |
|
| 491 | * @return static |
|
| 492 | * |
|
| 493 | * @see http://schema.org/foundingLocation |
|
| 494 | */ |
|
| 495 | public function foundingLocation($foundingLocation) |
|
| 496 | { |
|
| 497 | return $this->setProperty('foundingLocation', $foundingLocation); |
|
| 498 | } |
|
| 499 | ||
| 500 | /** |
|
| 501 | * A person or organization that supports (sponsors) something through some |
|
| 502 | * kind of financial contribution. |
|
| 503 | * |
|
| 504 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder |
|
| 505 | * |
|
| 506 | * @return static |
|
| 507 | * |
|
| 508 | * @see http://schema.org/funder |
|
| 509 | */ |
|
| 510 | public function funder($funder) |
|
| 511 | { |
|
| 512 | return $this->setProperty('funder', $funder); |
|
| 513 | } |
|
| 514 | ||
| 515 | /** |
|
| 516 | * The geo coordinates of the place. |
|
| 517 | * |
|
| 518 | * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo |
|
| 519 | * |
|
| 520 | * @return static |
|
| 521 | * |
|
| 522 | * @see http://schema.org/geo |
|
| 523 | */ |
|
| 524 | public function geo($geo) |
|
| 525 | { |
|
| 526 | return $this->setProperty('geo', $geo); |
|
| 527 | } |
|
| 528 | ||
| 529 | /** |
|
| 530 | * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also |
|
| 531 | * referred to as International Location Number or ILN) of the respective |
|
| 532 | * organization, person, or place. The GLN is a 13-digit number used to |
|
| 533 | * identify parties and physical locations. |
|
| 534 | * |
|
| 535 | * @param string|string[] $globalLocationNumber |
|
| 536 | * |
|
| 537 | * @return static |
|
| 538 | * |
|
| 539 | * @see http://schema.org/globalLocationNumber |
|
| 540 | */ |
|
| 541 | public function globalLocationNumber($globalLocationNumber) |
|
| 542 | { |
|
| 543 | return $this->setProperty('globalLocationNumber', $globalLocationNumber); |
|
| 544 | } |
|
| 545 | ||
| 546 | /** |
|
| 547 | * A URL to a map of the place. |
|
| 548 | * |
|
| 549 | * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap |
|
| 550 | * |
|
| 551 | * @return static |
|
| 552 | * |
|
| 553 | * @see http://schema.org/hasMap |
|
| 554 | */ |
|
| 555 | public function hasMap($hasMap) |
|
| 556 | { |
|
| 557 | return $this->setProperty('hasMap', $hasMap); |
|
| 558 | } |
|
| 559 | ||
| 560 | /** |
|
| 561 | * Indicates an OfferCatalog listing for this Organization, Person, or |
|
| 562 | * Service. |
|
| 563 | * |
|
| 564 | * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog |
|
| 565 | * |
|
| 566 | * @return static |
|
| 567 | * |
|
| 568 | * @see http://schema.org/hasOfferCatalog |
|
| 569 | */ |
|
| 570 | public function hasOfferCatalog($hasOfferCatalog) |
|
| 571 | { |
|
| 572 | return $this->setProperty('hasOfferCatalog', $hasOfferCatalog); |
|
| 573 | } |
|
| 574 | ||
| 575 | /** |
|
| 576 | * Points-of-Sales operated by the organization or person. |
|
| 577 | * |
|
| 578 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS |
|
| 579 | * |
|
| 580 | * @return static |
|
| 581 | * |
|
| 582 | * @see http://schema.org/hasPOS |
|
| 583 | */ |
|
| 584 | public function hasPOS($hasPOS) |
|
| 585 | { |
|
| 586 | return $this->setProperty('hasPOS', $hasPOS); |
|
| 587 | } |
|
| 588 | ||
| 589 | /** |
|
| 590 | * The identifier property represents any kind of identifier for any kind of |
|
| 591 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
| 592 | * dedicated properties for representing many of these, either as textual |
|
| 593 | * strings or as URL (URI) links. See [background |
|
| 594 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
| 595 | * |
|
| 596 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
| 597 | * |
|
| 598 | * @return static |
|
| 599 | * |
|
| 600 | * @see http://schema.org/identifier |
|
| 601 | */ |
|
| 602 | public function identifier($identifier) |
|
| 603 | { |
|
| 604 | return $this->setProperty('identifier', $identifier); |
|
| 605 | } |
|
| 606 | ||
| 607 | /** |
|
| 608 | * An image of the item. This can be a [[URL]] or a fully described |
|
| 609 | * [[ImageObject]]. |
|
| 610 | * |
|
| 611 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
| 612 | * |
|
| 613 | * @return static |
|
| 614 | * |
|
| 615 | * @see http://schema.org/image |
|
| 616 | */ |
|
| 617 | public function image($image) |
|
| 618 | { |
|
| 619 | return $this->setProperty('image', $image); |
|
| 620 | } |
|
| 621 | ||
| 622 | /** |
|
| 623 | * A flag to signal that the item, event, or place is accessible for free. |
|
| 624 | * |
|
| 625 | * @param bool|bool[] $isAccessibleForFree |
|
| 626 | * |
|
| 627 | * @return static |
|
| 628 | * |
|
| 629 | * @see http://schema.org/isAccessibleForFree |
|
| 630 | */ |
|
| 631 | public function isAccessibleForFree($isAccessibleForFree) |
|
| 632 | { |
|
| 633 | return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); |
|
| 634 | } |
|
| 635 | ||
| 636 | /** |
|
| 637 | * The International Standard of Industrial Classification of All Economic |
|
| 638 | * Activities (ISIC), Revision 4 code for a particular organization, |
|
| 639 | * business person, or place. |
|
| 640 | * |
|
| 641 | * @param string|string[] $isicV4 |
|
| 642 | * |
|
| 643 | * @return static |
|
| 644 | * |
|
| 645 | * @see http://schema.org/isicV4 |
|
| 646 | */ |
|
| 647 | public function isicV4($isicV4) |
|
| 648 | { |
|
| 649 | return $this->setProperty('isicV4', $isicV4); |
|
| 650 | } |
|
| 651 | ||
| 652 | /** |
|
| 653 | * The latitude of a location. For example ```37.42242``` ([WGS |
|
| 654 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 655 | * |
|
| 656 | * @param float|float[]|int|int[]|string|string[] $latitude |
|
| 657 | * |
|
| 658 | * @return static |
|
| 659 | * |
|
| 660 | * @see http://schema.org/latitude |
|
| 661 | */ |
|
| 662 | public function latitude($latitude) |
|
| 663 | { |
|
| 664 | return $this->setProperty('latitude', $latitude); |
|
| 665 | } |
|
| 666 | ||
| 667 | /** |
|
| 668 | * The official name of the organization, e.g. the registered company name. |
|
| 669 | * |
|
| 670 | * @param string|string[] $legalName |
|
| 671 | * |
|
| 672 | * @return static |
|
| 673 | * |
|
| 674 | * @see http://schema.org/legalName |
|
| 675 | */ |
|
| 676 | public function legalName($legalName) |
|
| 677 | { |
|
| 678 | return $this->setProperty('legalName', $legalName); |
|
| 679 | } |
|
| 680 | ||
| 681 | /** |
|
| 682 | * An organization identifier that uniquely identifies a legal entity as |
|
| 683 | * defined in ISO 17442. |
|
| 684 | * |
|
| 685 | * @param string|string[] $leiCode |
|
| 686 | * |
|
| 687 | * @return static |
|
| 688 | * |
|
| 689 | * @see http://schema.org/leiCode |
|
| 690 | */ |
|
| 691 | public function leiCode($leiCode) |
|
| 692 | { |
|
| 693 | return $this->setProperty('leiCode', $leiCode); |
|
| 694 | } |
|
| 695 | ||
| 696 | /** |
|
| 697 | * The location of for example where the event is happening, an organization |
|
| 698 | * is located, or where an action takes place. |
|
| 699 | * |
|
| 700 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location |
|
| 701 | * |
|
| 702 | * @return static |
|
| 703 | * |
|
| 704 | * @see http://schema.org/location |
|
| 705 | */ |
|
| 706 | public function location($location) |
|
| 707 | { |
|
| 708 | return $this->setProperty('location', $location); |
|
| 709 | } |
|
| 710 | ||
| 711 | /** |
|
| 712 | * An associated logo. |
|
| 713 | * |
|
| 714 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo |
|
| 715 | * |
|
| 716 | * @return static |
|
| 717 | * |
|
| 718 | * @see http://schema.org/logo |
|
| 719 | */ |
|
| 720 | public function logo($logo) |
|
| 721 | { |
|
| 722 | return $this->setProperty('logo', $logo); |
|
| 723 | } |
|
| 724 | ||
| 725 | /** |
|
| 726 | * The longitude of a location. For example ```-122.08585``` ([WGS |
|
| 727 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 728 | * |
|
| 729 | * @param float|float[]|int|int[]|string|string[] $longitude |
|
| 730 | * |
|
| 731 | * @return static |
|
| 732 | * |
|
| 733 | * @see http://schema.org/longitude |
|
| 734 | */ |
|
| 735 | public function longitude($longitude) |
|
| 736 | { |
|
| 737 | return $this->setProperty('longitude', $longitude); |
|
| 738 | } |
|
| 739 | ||
| 740 | /** |
|
| 741 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
| 742 | * entity being described. See [background |
|
| 743 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
| 744 | * |
|
| 745 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
| 746 | * |
|
| 747 | * @return static |
|
| 748 | * |
|
| 749 | * @see http://schema.org/mainEntityOfPage |
|
| 750 | */ |
|
| 751 | public function mainEntityOfPage($mainEntityOfPage) |
|
| 752 | { |
|
| 753 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
| 754 | } |
|
| 755 | ||
| 756 | /** |
|
| 757 | * A pointer to products or services offered by the organization or person. |
|
| 758 | * |
|
| 759 | * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer |
|
| 760 | * |
|
| 761 | * @return static |
|
| 762 | * |
|
| 763 | * @see http://schema.org/makesOffer |
|
| 764 | */ |
|
| 765 | public function makesOffer($makesOffer) |
|
| 766 | { |
|
| 767 | return $this->setProperty('makesOffer', $makesOffer); |
|
| 768 | } |
|
| 769 | ||
| 770 | /** |
|
| 771 | * A URL to a map of the place. |
|
| 772 | * |
|
| 773 | * @param string|string[] $map |
|
| 774 | * |
|
| 775 | * @return static |
|
| 776 | * |
|
| 777 | * @see http://schema.org/map |
|
| 778 | */ |
|
| 779 | public function map($map) |
|
| 780 | { |
|
| 781 | return $this->setProperty('map', $map); |
|
| 782 | } |
|
| 783 | ||
| 784 | /** |
|
| 785 | * A URL to a map of the place. |
|
| 786 | * |
|
| 787 | * @param string|string[] $maps |
|
| 788 | * |
|
| 789 | * @return static |
|
| 790 | * |
|
| 791 | * @see http://schema.org/maps |
|
| 792 | */ |
|
| 793 | public function maps($maps) |
|
| 794 | { |
|
| 795 | return $this->setProperty('maps', $maps); |
|
| 796 | } |
|
| 797 | ||
| 798 | /** |
|
| 799 | * The total number of individuals that may attend an event or venue. |
|
| 800 | * |
|
| 801 | * @param int|int[] $maximumAttendeeCapacity |
|
| 802 | * |
|
| 803 | * @return static |
|
| 804 | * |
|
| 805 | * @see http://schema.org/maximumAttendeeCapacity |
|
| 806 | */ |
|
| 807 | public function maximumAttendeeCapacity($maximumAttendeeCapacity) |
|
| 808 | { |
|
| 809 | return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity); |
|
| 810 | } |
|
| 811 | ||
| 812 | /** |
|
| 813 | * A member of an Organization or a ProgramMembership. Organizations can be |
|
| 814 | * members of organizations; ProgramMembership is typically for individuals. |
|
| 815 | * |
|
| 816 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member |
|
| 817 | * |
|
| 818 | * @return static |
|
| 819 | * |
|
| 820 | * @see http://schema.org/member |
|
| 821 | */ |
|
| 822 | public function member($member) |
|
| 823 | { |
|
| 824 | return $this->setProperty('member', $member); |
|
| 825 | } |
|
| 826 | ||
| 827 | /** |
|
| 828 | * An Organization (or ProgramMembership) to which this Person or |
|
| 829 | * Organization belongs. |
|
| 830 | * |
|
| 831 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf |
|
| 832 | * |
|
| 833 | * @return static |
|
| 834 | * |
|
| 835 | * @see http://schema.org/memberOf |
|
| 836 | */ |
|
| 837 | public function memberOf($memberOf) |
|
| 838 | { |
|
| 839 | return $this->setProperty('memberOf', $memberOf); |
|
| 840 | } |
|
| 841 | ||
| 842 | /** |
|
| 843 | * A member of this organization. |
|
| 844 | * |
|
| 845 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members |
|
| 846 | * |
|
| 847 | * @return static |
|
| 848 | * |
|
| 849 | * @see http://schema.org/members |
|
| 850 | */ |
|
| 851 | public function members($members) |
|
| 852 | { |
|
| 853 | return $this->setProperty('members', $members); |
|
| 854 | } |
|
| 855 | ||
| 856 | /** |
|
| 857 | * The North American Industry Classification System (NAICS) code for a |
|
| 858 | * particular organization or business person. |
|
| 859 | * |
|
| 860 | * @param string|string[] $naics |
|
| 861 | * |
|
| 862 | * @return static |
|
| 863 | * |
|
| 864 | * @see http://schema.org/naics |
|
| 865 | */ |
|
| 866 | public function naics($naics) |
|
| 867 | { |
|
| 868 | return $this->setProperty('naics', $naics); |
|
| 869 | } |
|
| 870 | ||
| 871 | /** |
|
| 872 | * The name of the item. |
|
| 873 | * |
|
| 874 | * @param string|string[] $name |
|
| 875 | * |
|
| 876 | * @return static |
|
| 877 | * |
|
| 878 | * @see http://schema.org/name |
|
| 879 | */ |
|
| 880 | public function name($name) |
|
| 881 | { |
|
| 882 | return $this->setProperty('name', $name); |
|
| 883 | } |
|
| 884 | ||
| 885 | /** |
|
| 886 | * The number of employees in an organization e.g. business. |
|
| 887 | * |
|
| 888 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees |
|
| 889 | * |
|
| 890 | * @return static |
|
| 891 | * |
|
| 892 | * @see http://schema.org/numberOfEmployees |
|
| 893 | */ |
|
| 894 | public function numberOfEmployees($numberOfEmployees) |
|
| 895 | { |
|
| 896 | return $this->setProperty('numberOfEmployees', $numberOfEmployees); |
|
| 897 | } |
|
| 898 | ||
| 899 | /** |
|
| 900 | * A pointer to the organization or person making the offer. |
|
| 901 | * |
|
| 902 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy |
|
| 903 | * |
|
| 904 | * @return static |
|
| 905 | * |
|
| 906 | * @see http://schema.org/offeredBy |
|
| 907 | */ |
|
| 908 | public function offeredBy($offeredBy) |
|
| 909 | { |
|
| 910 | return $this->setProperty('offeredBy', $offeredBy); |
|
| 911 | } |
|
| 912 | ||
| 913 | /** |
|
| 914 | * The general opening hours for a business. Opening hours can be specified |
|
| 915 | * as a weekly time range, starting with days, then times per day. Multiple |
|
| 916 | * days can be listed with commas ',' separating each day. Day or time |
|
| 917 | * ranges are specified using a hyphen '-'. |
|
| 918 | * |
|
| 919 | * * Days are specified using the following two-letter combinations: |
|
| 920 | * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. |
|
| 921 | * * Times are specified using 24:00 time. For example, 3pm is specified as |
|
| 922 | * ```15:00```. |
|
| 923 | * * Here is an example: <code><time itemprop="openingHours" |
|
| 924 | * datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays |
|
| 925 | * 4-8pm</time></code>. |
|
| 926 | * * If a business is open 7 days a week, then it can be specified as |
|
| 927 | * <code><time itemprop="openingHours" |
|
| 928 | * datetime="Mo-Su">Monday through Sunday, all |
|
| 929 | * day</time></code>. |
|
| 930 | * |
|
| 931 | * @param string|string[] $openingHours |
|
| 932 | * |
|
| 933 | * @return static |
|
| 934 | * |
|
| 935 | * @see http://schema.org/openingHours |
|
| 936 | */ |
|
| 937 | public function openingHours($openingHours) |
|
| 938 | { |
|
| 939 | return $this->setProperty('openingHours', $openingHours); |
|
| 940 | } |
|
| 941 | ||
| 942 | /** |
|
| 943 | * The opening hours of a certain place. |
|
| 944 | * |
|
| 945 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification |
|
| 946 | * |
|
| 947 | * @return static |
|
| 948 | * |
|
| 949 | * @see http://schema.org/openingHoursSpecification |
|
| 950 | */ |
|
| 951 | public function openingHoursSpecification($openingHoursSpecification) |
|
| 952 | { |
|
| 953 | return $this->setProperty('openingHoursSpecification', $openingHoursSpecification); |
|
| 954 | } |
|
| 955 | ||
| 956 | /** |
|
| 957 | * Products owned by the organization or person. |
|
| 958 | * |
|
| 959 | * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns |
|
| 960 | * |
|
| 961 | * @return static |
|
| 962 | * |
|
| 963 | * @see http://schema.org/owns |
|
| 964 | */ |
|
| 965 | public function owns($owns) |
|
| 966 | { |
|
| 967 | return $this->setProperty('owns', $owns); |
|
| 968 | } |
|
| 969 | ||
| 970 | /** |
|
| 971 | * The larger organization that this organization is a [[subOrganization]] |
|
| 972 | * of, if any. |
|
| 973 | * |
|
| 974 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization |
|
| 975 | * |
|
| 976 | * @return static |
|
| 977 | * |
|
| 978 | * @see http://schema.org/parentOrganization |
|
| 979 | */ |
|
| 980 | public function parentOrganization($parentOrganization) |
|
| 981 | { |
|
| 982 | return $this->setProperty('parentOrganization', $parentOrganization); |
|
| 983 | } |
|
| 984 | ||
| 985 | /** |
|
| 986 | * A photograph of this place. |
|
| 987 | * |
|
| 988 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo |
|
| 989 | * |
|
| 990 | * @return static |
|
| 991 | * |
|
| 992 | * @see http://schema.org/photo |
|
| 993 | */ |
|
| 994 | public function photo($photo) |
|
| 995 | { |
|
| 996 | return $this->setProperty('photo', $photo); |
|
| 997 | } |
|
| 998 | ||
| 999 | /** |
|
| 1000 | * Photographs of this place. |
|
| 1001 | * |
|
| 1002 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos |
|
| 1003 | * |
|
| 1004 | * @return static |
|
| 1005 | * |
|
| 1006 | * @see http://schema.org/photos |
|
| 1007 | */ |
|
| 1008 | public function photos($photos) |
|
| 1009 | { |
|
| 1010 | return $this->setProperty('photos', $photos); |
|
| 1011 | } |
|
| 1012 | ||
| 1013 | /** |
|
| 1014 | * Indicates a potential Action, which describes an idealized action in |
|
| 1015 | * which this thing would play an 'object' role. |
|
| 1016 | * |
|
| 1017 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
| 1018 | * |
|
| 1019 | * @return static |
|
| 1020 | * |
|
| 1021 | * @see http://schema.org/potentialAction |
|
| 1022 | */ |
|
| 1023 | public function potentialAction($potentialAction) |
|
| 1024 | { |
|
| 1025 | return $this->setProperty('potentialAction', $potentialAction); |
|
| 1026 | } |
|
| 1027 | ||
| 1028 | /** |
|
| 1029 | * A flag to signal that the [[Place]] is open to public visitors. If this |
|
| 1030 | * property is omitted there is no assumed default boolean value |
|
| 1031 | * |
|
| 1032 | * @param bool|bool[] $publicAccess |
|
| 1033 | * |
|
| 1034 | * @return static |
|
| 1035 | * |
|
| 1036 | * @see http://schema.org/publicAccess |
|
| 1037 | */ |
|
| 1038 | public function publicAccess($publicAccess) |
|
| 1039 | { |
|
| 1040 | return $this->setProperty('publicAccess', $publicAccess); |
|
| 1041 | } |
|
| 1042 | ||
| 1043 | /** |
|
| 1044 | * The publishingPrinciples property indicates (typically via [[URL]]) a |
|
| 1045 | * document describing the editorial principles of an [[Organization]] (or |
|
| 1046 | * individual e.g. a [[Person]] writing a blog) that relate to their |
|
| 1047 | * activities as a publisher, e.g. ethics or diversity policies. When |
|
| 1048 | * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are |
|
| 1049 | * those of the party primarily responsible for the creation of the |
|
| 1050 | * [[CreativeWork]]. |
|
| 1051 | * |
|
| 1052 | * While such policies are most typically expressed in natural language, |
|
| 1053 | * sometimes related information (e.g. indicating a [[funder]]) can be |
|
| 1054 | * expressed using schema.org terminology. |
|
| 1055 | * |
|
| 1056 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples |
|
| 1057 | * |
|
| 1058 | * @return static |
|
| 1059 | * |
|
| 1060 | * @see http://schema.org/publishingPrinciples |
|
| 1061 | */ |
|
| 1062 | public function publishingPrinciples($publishingPrinciples) |
|
| 1063 | { |
|
| 1064 | return $this->setProperty('publishingPrinciples', $publishingPrinciples); |
|
| 1065 | } |
|
| 1066 | ||
| 1067 | /** |
|
| 1068 | * A review of the item. |
|
| 1069 | * |
|
| 1070 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review |
|
| 1071 | * |
|
| 1072 | * @return static |
|
| 1073 | * |
|
| 1074 | * @see http://schema.org/review |
|
| 1075 | */ |
|
| 1076 | public function review($review) |
|
| 1077 | { |
|
| 1078 | return $this->setProperty('review', $review); |
|
| 1079 | } |
|
| 1080 | ||
| 1081 | /** |
|
| 1082 | * Review of the item. |
|
| 1083 | * |
|
| 1084 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews |
|
| 1085 | * |
|
| 1086 | * @return static |
|
| 1087 | * |
|
| 1088 | * @see http://schema.org/reviews |
|
| 1089 | */ |
|
| 1090 | public function reviews($reviews) |
|
| 1091 | { |
|
| 1092 | return $this->setProperty('reviews', $reviews); |
|
| 1093 | } |
|
| 1094 | ||
| 1095 | /** |
|
| 1096 | * URL of a reference Web page that unambiguously indicates the item's |
|
| 1097 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
| 1098 | * official website. |
|
| 1099 | * |
|
| 1100 | * @param string|string[] $sameAs |
|
| 1101 | * |
|
| 1102 | * @return static |
|
| 1103 | * |
|
| 1104 | * @see http://schema.org/sameAs |
|
| 1105 | */ |
|
| 1106 | public function sameAs($sameAs) |
|
| 1107 | { |
|
| 1108 | return $this->setProperty('sameAs', $sameAs); |
|
| 1109 | } |
|
| 1110 | ||
| 1111 | /** |
|
| 1112 | * A pointer to products or services sought by the organization or person |
|
| 1113 | * (demand). |
|
| 1114 | * |
|
| 1115 | * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks |
|
| 1116 | * |
|
| 1117 | * @return static |
|
| 1118 | * |
|
| 1119 | * @see http://schema.org/seeks |
|
| 1120 | */ |
|
| 1121 | public function seeks($seeks) |
|
| 1122 | { |
|
| 1123 | return $this->setProperty('seeks', $seeks); |
|
| 1124 | } |
|
| 1125 | ||
| 1126 | /** |
|
| 1127 | * The geographic area where the service is provided. |
|
| 1128 | * |
|
| 1129 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea |
|
| 1130 | * |
|
| 1131 | * @return static |
|
| 1132 | * |
|
| 1133 | * @see http://schema.org/serviceArea |
|
| 1134 | */ |
|
| 1135 | public function serviceArea($serviceArea) |
|
| 1136 | { |
|
| 1137 | return $this->setProperty('serviceArea', $serviceArea); |
|
| 1138 | } |
|
| 1139 | ||
| 1140 | /** |
|
| 1141 | * A slogan or motto associated with the item. |
|
| 1142 | * |
|
| 1143 | * @param string|string[] $slogan |
|
| 1144 | * |
|
| 1145 | * @return static |
|
| 1146 | * |
|
| 1147 | * @see http://schema.org/slogan |
|
| 1148 | */ |
|
| 1149 | public function slogan($slogan) |
|
| 1150 | { |
|
| 1151 | return $this->setProperty('slogan', $slogan); |
|
| 1152 | } |
|
| 1153 | ||
| 1154 | /** |
|
| 1155 | * Indicates whether it is allowed to smoke in the place, e.g. in the |
|
| 1156 | * restaurant, hotel or hotel room. |
|
| 1157 | * |
|
| 1158 | * @param bool|bool[] $smokingAllowed |
|
| 1159 | * |
|
| 1160 | * @return static |
|
| 1161 | * |
|
| 1162 | * @see http://schema.org/smokingAllowed |
|
| 1163 | */ |
|
| 1164 | public function smokingAllowed($smokingAllowed) |
|
| 1165 | { |
|
| 1166 | return $this->setProperty('smokingAllowed', $smokingAllowed); |
|
| 1167 | } |
|
| 1168 | ||
| 1169 | /** |
|
| 1170 | * The special opening hours of a certain place. |
|
| 1171 | * |
|
| 1172 | * Use this to explicitly override general opening hours brought in scope by |
|
| 1173 | * [[openingHoursSpecification]] or [[openingHours]]. |
|
| 1174 | * |
|
| 1175 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification |
|
| 1176 | * |
|
| 1177 | * @return static |
|
| 1178 | * |
|
| 1179 | * @see http://schema.org/specialOpeningHoursSpecification |
|
| 1180 | */ |
|
| 1181 | public function specialOpeningHoursSpecification($specialOpeningHoursSpecification) |
|
| 1182 | { |
|
| 1183 | return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification); |
|
| 1184 | } |
|
| 1185 | ||
| 1186 | /** |
|
| 1187 | * A person or organization that supports a thing through a pledge, promise, |
|
| 1188 | * or financial contribution. e.g. a sponsor of a Medical Study or a |
|
| 1189 | * corporate sponsor of an event. |
|
| 1190 | * |
|
| 1191 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor |
|
| 1192 | * |
|
| 1193 | * @return static |
|
| 1194 | * |
|
| 1195 | * @see http://schema.org/sponsor |
|
| 1196 | */ |
|
| 1197 | public function sponsor($sponsor) |
|
| 1198 | { |
|
| 1199 | return $this->setProperty('sponsor', $sponsor); |
|
| 1200 | } |
|
| 1201 | ||
| 1202 | /** |
|
| 1203 | * A relationship between two organizations where the first includes the |
|
| 1204 | * second, e.g., as a subsidiary. See also: the more specific 'department' |
|
| 1205 | * property. |
|
| 1206 | * |
|
| 1207 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization |
|
| 1208 | * |
|
| 1209 | * @return static |
|
| 1210 | * |
|
| 1211 | * @see http://schema.org/subOrganization |
|
| 1212 | */ |
|
| 1213 | public function subOrganization($subOrganization) |
|
| 1214 | { |
|
| 1215 | return $this->setProperty('subOrganization', $subOrganization); |
|
| 1216 | } |
|
| 1217 | ||
| 1218 | /** |
|
| 1219 | * A CreativeWork or Event about this Thing. |
|
| 1220 | * |
|
| 1221 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
| 1222 | * |
|
| 1223 | * @return static |
|
| 1224 | * |
|
| 1225 | * @see http://schema.org/subjectOf |
|
| 1226 | */ |
|
| 1227 | public function subjectOf($subjectOf) |
|
| 1228 | { |
|
| 1229 | return $this->setProperty('subjectOf', $subjectOf); |
|
| 1230 | } |
|
| 1231 | ||
| 1232 | /** |
|
| 1233 | * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US |
|
| 1234 | * or the CIF/NIF in Spain. |
|
| 1235 | * |
|
| 1236 | * @param string|string[] $taxID |
|
| 1237 | * |
|
| 1238 | * @return static |
|
| 1239 | * |
|
| 1240 | * @see http://schema.org/taxID |
|
| 1241 | */ |
|
| 1242 | public function taxID($taxID) |
|
| 1243 | { |
|
| 1244 | return $this->setProperty('taxID', $taxID); |
|
| 1245 | } |
|
| 1246 | ||
| 1247 | /** |
|
| 1248 | * The telephone number. |
|
| 1249 | * |
|
| 1250 | * @param string|string[] $telephone |
|
| 1251 | * |
|
| 1252 | * @return static |
|
| 1253 | * |
|
| 1254 | * @see http://schema.org/telephone |
|
| 1255 | */ |
|
| 1256 | public function telephone($telephone) |
|
| 1257 | { |
|
| 1258 | return $this->setProperty('telephone', $telephone); |
|
| 1259 | } |
|
| 1260 | ||
| 1261 | /** |
|
| 1262 | * URL of the item. |
|
| 1263 | * |
|
| 1264 | * @param string|string[] $url |
|
| 1265 | * |
|
| 1266 | * @return static |
|
| 1267 | * |
|
| 1268 | * @see http://schema.org/url |
|
| 1269 | */ |
|
| 1270 | public function url($url) |
|
| 1271 | { |
|
| 1272 | return $this->setProperty('url', $url); |
|
| 1273 | } |
|
| 1274 | ||
| 1275 | /** |
|
| 1276 | * The Value-added Tax ID of the organization or person. |
|
| 1277 | * |
|
| 1278 | * @param string|string[] $vatID |
|
| 1279 | * |
|
| 1280 | * @return static |
|
| 1281 | * |
|
| 1282 | * @see http://schema.org/vatID |
|
| 1283 | */ |
|
| 1284 | public function vatID($vatID) |
|
| 1285 | { |
|
| 1286 | return $this->setProperty('vatID', $vatID); |
|
| 1287 | } |
|
| 1288 | ||
| 1289 | } |
|
| 1290 | ||
| @@ 18-1290 (lines=1273) @@ | ||
| 15 | * @see http://schema.org/ElementarySchool |
|
| 16 | * |
|
| 17 | */ |
|
| 18 | class ElementarySchool extends BaseType implements ElementarySchoolContract, CivicStructureContract, EducationalOrganizationContract, OrganizationContract, PlaceContract, ThingContract |
|
| 19 | { |
|
| 20 | /** |
|
| 21 | * A property-value pair representing an additional characteristics of the |
|
| 22 | * entitity, e.g. a product feature or another characteristic for which |
|
| 23 | * there is no matching property in schema.org. |
|
| 24 | * |
|
| 25 | * Note: Publishers should be aware that applications designed to use |
|
| 26 | * specific schema.org properties (e.g. http://schema.org/width, |
|
| 27 | * http://schema.org/color, http://schema.org/gtin13, ...) will typically |
|
| 28 | * expect such data to be provided using those properties, rather than using |
|
| 29 | * the generic property/value mechanism. |
|
| 30 | * |
|
| 31 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty |
|
| 32 | * |
|
| 33 | * @return static |
|
| 34 | * |
|
| 35 | * @see http://schema.org/additionalProperty |
|
| 36 | */ |
|
| 37 | public function additionalProperty($additionalProperty) |
|
| 38 | { |
|
| 39 | return $this->setProperty('additionalProperty', $additionalProperty); |
|
| 40 | } |
|
| 41 | ||
| 42 | /** |
|
| 43 | * An additional type for the item, typically used for adding more specific |
|
| 44 | * types from external vocabularies in microdata syntax. This is a |
|
| 45 | * relationship between something and a class that the thing is in. In RDFa |
|
| 46 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
| 47 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
| 48 | * understanding of extra types, in particular those defined externally. |
|
| 49 | * |
|
| 50 | * @param string|string[] $additionalType |
|
| 51 | * |
|
| 52 | * @return static |
|
| 53 | * |
|
| 54 | * @see http://schema.org/additionalType |
|
| 55 | */ |
|
| 56 | public function additionalType($additionalType) |
|
| 57 | { |
|
| 58 | return $this->setProperty('additionalType', $additionalType); |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * Physical address of the item. |
|
| 63 | * |
|
| 64 | * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address |
|
| 65 | * |
|
| 66 | * @return static |
|
| 67 | * |
|
| 68 | * @see http://schema.org/address |
|
| 69 | */ |
|
| 70 | public function address($address) |
|
| 71 | { |
|
| 72 | return $this->setProperty('address', $address); |
|
| 73 | } |
|
| 74 | ||
| 75 | /** |
|
| 76 | * The overall rating, based on a collection of reviews or ratings, of the |
|
| 77 | * item. |
|
| 78 | * |
|
| 79 | * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating |
|
| 80 | * |
|
| 81 | * @return static |
|
| 82 | * |
|
| 83 | * @see http://schema.org/aggregateRating |
|
| 84 | */ |
|
| 85 | public function aggregateRating($aggregateRating) |
|
| 86 | { |
|
| 87 | return $this->setProperty('aggregateRating', $aggregateRating); |
|
| 88 | } |
|
| 89 | ||
| 90 | /** |
|
| 91 | * An alias for the item. |
|
| 92 | * |
|
| 93 | * @param string|string[] $alternateName |
|
| 94 | * |
|
| 95 | * @return static |
|
| 96 | * |
|
| 97 | * @see http://schema.org/alternateName |
|
| 98 | */ |
|
| 99 | public function alternateName($alternateName) |
|
| 100 | { |
|
| 101 | return $this->setProperty('alternateName', $alternateName); |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * Alumni of an organization. |
|
| 106 | * |
|
| 107 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni |
|
| 108 | * |
|
| 109 | * @return static |
|
| 110 | * |
|
| 111 | * @see http://schema.org/alumni |
|
| 112 | */ |
|
| 113 | public function alumni($alumni) |
|
| 114 | { |
|
| 115 | return $this->setProperty('alumni', $alumni); |
|
| 116 | } |
|
| 117 | ||
| 118 | /** |
|
| 119 | * An amenity feature (e.g. a characteristic or service) of the |
|
| 120 | * Accommodation. This generic property does not make a statement about |
|
| 121 | * whether the feature is included in an offer for the main accommodation or |
|
| 122 | * available at extra costs. |
|
| 123 | * |
|
| 124 | * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature |
|
| 125 | * |
|
| 126 | * @return static |
|
| 127 | * |
|
| 128 | * @see http://schema.org/amenityFeature |
|
| 129 | */ |
|
| 130 | public function amenityFeature($amenityFeature) |
|
| 131 | { |
|
| 132 | return $this->setProperty('amenityFeature', $amenityFeature); |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * The geographic area where a service or offered item is provided. |
|
| 137 | * |
|
| 138 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed |
|
| 139 | * |
|
| 140 | * @return static |
|
| 141 | * |
|
| 142 | * @see http://schema.org/areaServed |
|
| 143 | */ |
|
| 144 | public function areaServed($areaServed) |
|
| 145 | { |
|
| 146 | return $this->setProperty('areaServed', $areaServed); |
|
| 147 | } |
|
| 148 | ||
| 149 | /** |
|
| 150 | * An award won by or for this item. |
|
| 151 | * |
|
| 152 | * @param string|string[] $award |
|
| 153 | * |
|
| 154 | * @return static |
|
| 155 | * |
|
| 156 | * @see http://schema.org/award |
|
| 157 | */ |
|
| 158 | public function award($award) |
|
| 159 | { |
|
| 160 | return $this->setProperty('award', $award); |
|
| 161 | } |
|
| 162 | ||
| 163 | /** |
|
| 164 | * Awards won by or for this item. |
|
| 165 | * |
|
| 166 | * @param string|string[] $awards |
|
| 167 | * |
|
| 168 | * @return static |
|
| 169 | * |
|
| 170 | * @see http://schema.org/awards |
|
| 171 | */ |
|
| 172 | public function awards($awards) |
|
| 173 | { |
|
| 174 | return $this->setProperty('awards', $awards); |
|
| 175 | } |
|
| 176 | ||
| 177 | /** |
|
| 178 | * A short textual code (also called "store code") that uniquely identifies |
|
| 179 | * a place of business. The code is typically assigned by the |
|
| 180 | * parentOrganization and used in structured URLs. |
|
| 181 | * |
|
| 182 | * For example, in the URL |
|
| 183 | * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" |
|
| 184 | * is a branchCode for a particular branch. |
|
| 185 | * |
|
| 186 | * @param string|string[] $branchCode |
|
| 187 | * |
|
| 188 | * @return static |
|
| 189 | * |
|
| 190 | * @see http://schema.org/branchCode |
|
| 191 | */ |
|
| 192 | public function branchCode($branchCode) |
|
| 193 | { |
|
| 194 | return $this->setProperty('branchCode', $branchCode); |
|
| 195 | } |
|
| 196 | ||
| 197 | /** |
|
| 198 | * The brand(s) associated with a product or service, or the brand(s) |
|
| 199 | * maintained by an organization or business person. |
|
| 200 | * |
|
| 201 | * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand |
|
| 202 | * |
|
| 203 | * @return static |
|
| 204 | * |
|
| 205 | * @see http://schema.org/brand |
|
| 206 | */ |
|
| 207 | public function brand($brand) |
|
| 208 | { |
|
| 209 | return $this->setProperty('brand', $brand); |
|
| 210 | } |
|
| 211 | ||
| 212 | /** |
|
| 213 | * A contact point for a person or organization. |
|
| 214 | * |
|
| 215 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint |
|
| 216 | * |
|
| 217 | * @return static |
|
| 218 | * |
|
| 219 | * @see http://schema.org/contactPoint |
|
| 220 | */ |
|
| 221 | public function contactPoint($contactPoint) |
|
| 222 | { |
|
| 223 | return $this->setProperty('contactPoint', $contactPoint); |
|
| 224 | } |
|
| 225 | ||
| 226 | /** |
|
| 227 | * A contact point for a person or organization. |
|
| 228 | * |
|
| 229 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints |
|
| 230 | * |
|
| 231 | * @return static |
|
| 232 | * |
|
| 233 | * @see http://schema.org/contactPoints |
|
| 234 | */ |
|
| 235 | public function contactPoints($contactPoints) |
|
| 236 | { |
|
| 237 | return $this->setProperty('contactPoints', $contactPoints); |
|
| 238 | } |
|
| 239 | ||
| 240 | /** |
|
| 241 | * The basic containment relation between a place and one that contains it. |
|
| 242 | * |
|
| 243 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn |
|
| 244 | * |
|
| 245 | * @return static |
|
| 246 | * |
|
| 247 | * @see http://schema.org/containedIn |
|
| 248 | */ |
|
| 249 | public function containedIn($containedIn) |
|
| 250 | { |
|
| 251 | return $this->setProperty('containedIn', $containedIn); |
|
| 252 | } |
|
| 253 | ||
| 254 | /** |
|
| 255 | * The basic containment relation between a place and one that contains it. |
|
| 256 | * |
|
| 257 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace |
|
| 258 | * |
|
| 259 | * @return static |
|
| 260 | * |
|
| 261 | * @see http://schema.org/containedInPlace |
|
| 262 | */ |
|
| 263 | public function containedInPlace($containedInPlace) |
|
| 264 | { |
|
| 265 | return $this->setProperty('containedInPlace', $containedInPlace); |
|
| 266 | } |
|
| 267 | ||
| 268 | /** |
|
| 269 | * The basic containment relation between a place and another that it |
|
| 270 | * contains. |
|
| 271 | * |
|
| 272 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace |
|
| 273 | * |
|
| 274 | * @return static |
|
| 275 | * |
|
| 276 | * @see http://schema.org/containsPlace |
|
| 277 | */ |
|
| 278 | public function containsPlace($containsPlace) |
|
| 279 | { |
|
| 280 | return $this->setProperty('containsPlace', $containsPlace); |
|
| 281 | } |
|
| 282 | ||
| 283 | /** |
|
| 284 | * A relationship between an organization and a department of that |
|
| 285 | * organization, also described as an organization (allowing different urls, |
|
| 286 | * logos, opening hours). For example: a store with a pharmacy, or a bakery |
|
| 287 | * with a cafe. |
|
| 288 | * |
|
| 289 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department |
|
| 290 | * |
|
| 291 | * @return static |
|
| 292 | * |
|
| 293 | * @see http://schema.org/department |
|
| 294 | */ |
|
| 295 | public function department($department) |
|
| 296 | { |
|
| 297 | return $this->setProperty('department', $department); |
|
| 298 | } |
|
| 299 | ||
| 300 | /** |
|
| 301 | * A description of the item. |
|
| 302 | * |
|
| 303 | * @param string|string[] $description |
|
| 304 | * |
|
| 305 | * @return static |
|
| 306 | * |
|
| 307 | * @see http://schema.org/description |
|
| 308 | */ |
|
| 309 | public function description($description) |
|
| 310 | { |
|
| 311 | return $this->setProperty('description', $description); |
|
| 312 | } |
|
| 313 | ||
| 314 | /** |
|
| 315 | * A sub property of description. A short description of the item used to |
|
| 316 | * disambiguate from other, similar items. Information from other properties |
|
| 317 | * (in particular, name) may be necessary for the description to be useful |
|
| 318 | * for disambiguation. |
|
| 319 | * |
|
| 320 | * @param string|string[] $disambiguatingDescription |
|
| 321 | * |
|
| 322 | * @return static |
|
| 323 | * |
|
| 324 | * @see http://schema.org/disambiguatingDescription |
|
| 325 | */ |
|
| 326 | public function disambiguatingDescription($disambiguatingDescription) |
|
| 327 | { |
|
| 328 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
| 329 | } |
|
| 330 | ||
| 331 | /** |
|
| 332 | * The date that this organization was dissolved. |
|
| 333 | * |
|
| 334 | * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate |
|
| 335 | * |
|
| 336 | * @return static |
|
| 337 | * |
|
| 338 | * @see http://schema.org/dissolutionDate |
|
| 339 | */ |
|
| 340 | public function dissolutionDate($dissolutionDate) |
|
| 341 | { |
|
| 342 | return $this->setProperty('dissolutionDate', $dissolutionDate); |
|
| 343 | } |
|
| 344 | ||
| 345 | /** |
|
| 346 | * The Dun & Bradstreet DUNS number for identifying an organization or |
|
| 347 | * business person. |
|
| 348 | * |
|
| 349 | * @param string|string[] $duns |
|
| 350 | * |
|
| 351 | * @return static |
|
| 352 | * |
|
| 353 | * @see http://schema.org/duns |
|
| 354 | */ |
|
| 355 | public function duns($duns) |
|
| 356 | { |
|
| 357 | return $this->setProperty('duns', $duns); |
|
| 358 | } |
|
| 359 | ||
| 360 | /** |
|
| 361 | * Email address. |
|
| 362 | * |
|
| 363 | * @param string|string[] $email |
|
| 364 | * |
|
| 365 | * @return static |
|
| 366 | * |
|
| 367 | * @see http://schema.org/email |
|
| 368 | */ |
|
| 369 | public function email($email) |
|
| 370 | { |
|
| 371 | return $this->setProperty('email', $email); |
|
| 372 | } |
|
| 373 | ||
| 374 | /** |
|
| 375 | * Someone working for this organization. |
|
| 376 | * |
|
| 377 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee |
|
| 378 | * |
|
| 379 | * @return static |
|
| 380 | * |
|
| 381 | * @see http://schema.org/employee |
|
| 382 | */ |
|
| 383 | public function employee($employee) |
|
| 384 | { |
|
| 385 | return $this->setProperty('employee', $employee); |
|
| 386 | } |
|
| 387 | ||
| 388 | /** |
|
| 389 | * People working for this organization. |
|
| 390 | * |
|
| 391 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees |
|
| 392 | * |
|
| 393 | * @return static |
|
| 394 | * |
|
| 395 | * @see http://schema.org/employees |
|
| 396 | */ |
|
| 397 | public function employees($employees) |
|
| 398 | { |
|
| 399 | return $this->setProperty('employees', $employees); |
|
| 400 | } |
|
| 401 | ||
| 402 | /** |
|
| 403 | * Upcoming or past event associated with this place, organization, or |
|
| 404 | * action. |
|
| 405 | * |
|
| 406 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event |
|
| 407 | * |
|
| 408 | * @return static |
|
| 409 | * |
|
| 410 | * @see http://schema.org/event |
|
| 411 | */ |
|
| 412 | public function event($event) |
|
| 413 | { |
|
| 414 | return $this->setProperty('event', $event); |
|
| 415 | } |
|
| 416 | ||
| 417 | /** |
|
| 418 | * Upcoming or past events associated with this place or organization. |
|
| 419 | * |
|
| 420 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events |
|
| 421 | * |
|
| 422 | * @return static |
|
| 423 | * |
|
| 424 | * @see http://schema.org/events |
|
| 425 | */ |
|
| 426 | public function events($events) |
|
| 427 | { |
|
| 428 | return $this->setProperty('events', $events); |
|
| 429 | } |
|
| 430 | ||
| 431 | /** |
|
| 432 | * The fax number. |
|
| 433 | * |
|
| 434 | * @param string|string[] $faxNumber |
|
| 435 | * |
|
| 436 | * @return static |
|
| 437 | * |
|
| 438 | * @see http://schema.org/faxNumber |
|
| 439 | */ |
|
| 440 | public function faxNumber($faxNumber) |
|
| 441 | { |
|
| 442 | return $this->setProperty('faxNumber', $faxNumber); |
|
| 443 | } |
|
| 444 | ||
| 445 | /** |
|
| 446 | * A person who founded this organization. |
|
| 447 | * |
|
| 448 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder |
|
| 449 | * |
|
| 450 | * @return static |
|
| 451 | * |
|
| 452 | * @see http://schema.org/founder |
|
| 453 | */ |
|
| 454 | public function founder($founder) |
|
| 455 | { |
|
| 456 | return $this->setProperty('founder', $founder); |
|
| 457 | } |
|
| 458 | ||
| 459 | /** |
|
| 460 | * A person who founded this organization. |
|
| 461 | * |
|
| 462 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders |
|
| 463 | * |
|
| 464 | * @return static |
|
| 465 | * |
|
| 466 | * @see http://schema.org/founders |
|
| 467 | */ |
|
| 468 | public function founders($founders) |
|
| 469 | { |
|
| 470 | return $this->setProperty('founders', $founders); |
|
| 471 | } |
|
| 472 | ||
| 473 | /** |
|
| 474 | * The date that this organization was founded. |
|
| 475 | * |
|
| 476 | * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate |
|
| 477 | * |
|
| 478 | * @return static |
|
| 479 | * |
|
| 480 | * @see http://schema.org/foundingDate |
|
| 481 | */ |
|
| 482 | public function foundingDate($foundingDate) |
|
| 483 | { |
|
| 484 | return $this->setProperty('foundingDate', $foundingDate); |
|
| 485 | } |
|
| 486 | ||
| 487 | /** |
|
| 488 | * The place where the Organization was founded. |
|
| 489 | * |
|
| 490 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation |
|
| 491 | * |
|
| 492 | * @return static |
|
| 493 | * |
|
| 494 | * @see http://schema.org/foundingLocation |
|
| 495 | */ |
|
| 496 | public function foundingLocation($foundingLocation) |
|
| 497 | { |
|
| 498 | return $this->setProperty('foundingLocation', $foundingLocation); |
|
| 499 | } |
|
| 500 | ||
| 501 | /** |
|
| 502 | * A person or organization that supports (sponsors) something through some |
|
| 503 | * kind of financial contribution. |
|
| 504 | * |
|
| 505 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder |
|
| 506 | * |
|
| 507 | * @return static |
|
| 508 | * |
|
| 509 | * @see http://schema.org/funder |
|
| 510 | */ |
|
| 511 | public function funder($funder) |
|
| 512 | { |
|
| 513 | return $this->setProperty('funder', $funder); |
|
| 514 | } |
|
| 515 | ||
| 516 | /** |
|
| 517 | * The geo coordinates of the place. |
|
| 518 | * |
|
| 519 | * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo |
|
| 520 | * |
|
| 521 | * @return static |
|
| 522 | * |
|
| 523 | * @see http://schema.org/geo |
|
| 524 | */ |
|
| 525 | public function geo($geo) |
|
| 526 | { |
|
| 527 | return $this->setProperty('geo', $geo); |
|
| 528 | } |
|
| 529 | ||
| 530 | /** |
|
| 531 | * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also |
|
| 532 | * referred to as International Location Number or ILN) of the respective |
|
| 533 | * organization, person, or place. The GLN is a 13-digit number used to |
|
| 534 | * identify parties and physical locations. |
|
| 535 | * |
|
| 536 | * @param string|string[] $globalLocationNumber |
|
| 537 | * |
|
| 538 | * @return static |
|
| 539 | * |
|
| 540 | * @see http://schema.org/globalLocationNumber |
|
| 541 | */ |
|
| 542 | public function globalLocationNumber($globalLocationNumber) |
|
| 543 | { |
|
| 544 | return $this->setProperty('globalLocationNumber', $globalLocationNumber); |
|
| 545 | } |
|
| 546 | ||
| 547 | /** |
|
| 548 | * A URL to a map of the place. |
|
| 549 | * |
|
| 550 | * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap |
|
| 551 | * |
|
| 552 | * @return static |
|
| 553 | * |
|
| 554 | * @see http://schema.org/hasMap |
|
| 555 | */ |
|
| 556 | public function hasMap($hasMap) |
|
| 557 | { |
|
| 558 | return $this->setProperty('hasMap', $hasMap); |
|
| 559 | } |
|
| 560 | ||
| 561 | /** |
|
| 562 | * Indicates an OfferCatalog listing for this Organization, Person, or |
|
| 563 | * Service. |
|
| 564 | * |
|
| 565 | * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog |
|
| 566 | * |
|
| 567 | * @return static |
|
| 568 | * |
|
| 569 | * @see http://schema.org/hasOfferCatalog |
|
| 570 | */ |
|
| 571 | public function hasOfferCatalog($hasOfferCatalog) |
|
| 572 | { |
|
| 573 | return $this->setProperty('hasOfferCatalog', $hasOfferCatalog); |
|
| 574 | } |
|
| 575 | ||
| 576 | /** |
|
| 577 | * Points-of-Sales operated by the organization or person. |
|
| 578 | * |
|
| 579 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS |
|
| 580 | * |
|
| 581 | * @return static |
|
| 582 | * |
|
| 583 | * @see http://schema.org/hasPOS |
|
| 584 | */ |
|
| 585 | public function hasPOS($hasPOS) |
|
| 586 | { |
|
| 587 | return $this->setProperty('hasPOS', $hasPOS); |
|
| 588 | } |
|
| 589 | ||
| 590 | /** |
|
| 591 | * The identifier property represents any kind of identifier for any kind of |
|
| 592 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
| 593 | * dedicated properties for representing many of these, either as textual |
|
| 594 | * strings or as URL (URI) links. See [background |
|
| 595 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
| 596 | * |
|
| 597 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
| 598 | * |
|
| 599 | * @return static |
|
| 600 | * |
|
| 601 | * @see http://schema.org/identifier |
|
| 602 | */ |
|
| 603 | public function identifier($identifier) |
|
| 604 | { |
|
| 605 | return $this->setProperty('identifier', $identifier); |
|
| 606 | } |
|
| 607 | ||
| 608 | /** |
|
| 609 | * An image of the item. This can be a [[URL]] or a fully described |
|
| 610 | * [[ImageObject]]. |
|
| 611 | * |
|
| 612 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
| 613 | * |
|
| 614 | * @return static |
|
| 615 | * |
|
| 616 | * @see http://schema.org/image |
|
| 617 | */ |
|
| 618 | public function image($image) |
|
| 619 | { |
|
| 620 | return $this->setProperty('image', $image); |
|
| 621 | } |
|
| 622 | ||
| 623 | /** |
|
| 624 | * A flag to signal that the item, event, or place is accessible for free. |
|
| 625 | * |
|
| 626 | * @param bool|bool[] $isAccessibleForFree |
|
| 627 | * |
|
| 628 | * @return static |
|
| 629 | * |
|
| 630 | * @see http://schema.org/isAccessibleForFree |
|
| 631 | */ |
|
| 632 | public function isAccessibleForFree($isAccessibleForFree) |
|
| 633 | { |
|
| 634 | return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); |
|
| 635 | } |
|
| 636 | ||
| 637 | /** |
|
| 638 | * The International Standard of Industrial Classification of All Economic |
|
| 639 | * Activities (ISIC), Revision 4 code for a particular organization, |
|
| 640 | * business person, or place. |
|
| 641 | * |
|
| 642 | * @param string|string[] $isicV4 |
|
| 643 | * |
|
| 644 | * @return static |
|
| 645 | * |
|
| 646 | * @see http://schema.org/isicV4 |
|
| 647 | */ |
|
| 648 | public function isicV4($isicV4) |
|
| 649 | { |
|
| 650 | return $this->setProperty('isicV4', $isicV4); |
|
| 651 | } |
|
| 652 | ||
| 653 | /** |
|
| 654 | * The latitude of a location. For example ```37.42242``` ([WGS |
|
| 655 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 656 | * |
|
| 657 | * @param float|float[]|int|int[]|string|string[] $latitude |
|
| 658 | * |
|
| 659 | * @return static |
|
| 660 | * |
|
| 661 | * @see http://schema.org/latitude |
|
| 662 | */ |
|
| 663 | public function latitude($latitude) |
|
| 664 | { |
|
| 665 | return $this->setProperty('latitude', $latitude); |
|
| 666 | } |
|
| 667 | ||
| 668 | /** |
|
| 669 | * The official name of the organization, e.g. the registered company name. |
|
| 670 | * |
|
| 671 | * @param string|string[] $legalName |
|
| 672 | * |
|
| 673 | * @return static |
|
| 674 | * |
|
| 675 | * @see http://schema.org/legalName |
|
| 676 | */ |
|
| 677 | public function legalName($legalName) |
|
| 678 | { |
|
| 679 | return $this->setProperty('legalName', $legalName); |
|
| 680 | } |
|
| 681 | ||
| 682 | /** |
|
| 683 | * An organization identifier that uniquely identifies a legal entity as |
|
| 684 | * defined in ISO 17442. |
|
| 685 | * |
|
| 686 | * @param string|string[] $leiCode |
|
| 687 | * |
|
| 688 | * @return static |
|
| 689 | * |
|
| 690 | * @see http://schema.org/leiCode |
|
| 691 | */ |
|
| 692 | public function leiCode($leiCode) |
|
| 693 | { |
|
| 694 | return $this->setProperty('leiCode', $leiCode); |
|
| 695 | } |
|
| 696 | ||
| 697 | /** |
|
| 698 | * The location of for example where the event is happening, an organization |
|
| 699 | * is located, or where an action takes place. |
|
| 700 | * |
|
| 701 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location |
|
| 702 | * |
|
| 703 | * @return static |
|
| 704 | * |
|
| 705 | * @see http://schema.org/location |
|
| 706 | */ |
|
| 707 | public function location($location) |
|
| 708 | { |
|
| 709 | return $this->setProperty('location', $location); |
|
| 710 | } |
|
| 711 | ||
| 712 | /** |
|
| 713 | * An associated logo. |
|
| 714 | * |
|
| 715 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo |
|
| 716 | * |
|
| 717 | * @return static |
|
| 718 | * |
|
| 719 | * @see http://schema.org/logo |
|
| 720 | */ |
|
| 721 | public function logo($logo) |
|
| 722 | { |
|
| 723 | return $this->setProperty('logo', $logo); |
|
| 724 | } |
|
| 725 | ||
| 726 | /** |
|
| 727 | * The longitude of a location. For example ```-122.08585``` ([WGS |
|
| 728 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 729 | * |
|
| 730 | * @param float|float[]|int|int[]|string|string[] $longitude |
|
| 731 | * |
|
| 732 | * @return static |
|
| 733 | * |
|
| 734 | * @see http://schema.org/longitude |
|
| 735 | */ |
|
| 736 | public function longitude($longitude) |
|
| 737 | { |
|
| 738 | return $this->setProperty('longitude', $longitude); |
|
| 739 | } |
|
| 740 | ||
| 741 | /** |
|
| 742 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
| 743 | * entity being described. See [background |
|
| 744 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
| 745 | * |
|
| 746 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
| 747 | * |
|
| 748 | * @return static |
|
| 749 | * |
|
| 750 | * @see http://schema.org/mainEntityOfPage |
|
| 751 | */ |
|
| 752 | public function mainEntityOfPage($mainEntityOfPage) |
|
| 753 | { |
|
| 754 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
| 755 | } |
|
| 756 | ||
| 757 | /** |
|
| 758 | * A pointer to products or services offered by the organization or person. |
|
| 759 | * |
|
| 760 | * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer |
|
| 761 | * |
|
| 762 | * @return static |
|
| 763 | * |
|
| 764 | * @see http://schema.org/makesOffer |
|
| 765 | */ |
|
| 766 | public function makesOffer($makesOffer) |
|
| 767 | { |
|
| 768 | return $this->setProperty('makesOffer', $makesOffer); |
|
| 769 | } |
|
| 770 | ||
| 771 | /** |
|
| 772 | * A URL to a map of the place. |
|
| 773 | * |
|
| 774 | * @param string|string[] $map |
|
| 775 | * |
|
| 776 | * @return static |
|
| 777 | * |
|
| 778 | * @see http://schema.org/map |
|
| 779 | */ |
|
| 780 | public function map($map) |
|
| 781 | { |
|
| 782 | return $this->setProperty('map', $map); |
|
| 783 | } |
|
| 784 | ||
| 785 | /** |
|
| 786 | * A URL to a map of the place. |
|
| 787 | * |
|
| 788 | * @param string|string[] $maps |
|
| 789 | * |
|
| 790 | * @return static |
|
| 791 | * |
|
| 792 | * @see http://schema.org/maps |
|
| 793 | */ |
|
| 794 | public function maps($maps) |
|
| 795 | { |
|
| 796 | return $this->setProperty('maps', $maps); |
|
| 797 | } |
|
| 798 | ||
| 799 | /** |
|
| 800 | * The total number of individuals that may attend an event or venue. |
|
| 801 | * |
|
| 802 | * @param int|int[] $maximumAttendeeCapacity |
|
| 803 | * |
|
| 804 | * @return static |
|
| 805 | * |
|
| 806 | * @see http://schema.org/maximumAttendeeCapacity |
|
| 807 | */ |
|
| 808 | public function maximumAttendeeCapacity($maximumAttendeeCapacity) |
|
| 809 | { |
|
| 810 | return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity); |
|
| 811 | } |
|
| 812 | ||
| 813 | /** |
|
| 814 | * A member of an Organization or a ProgramMembership. Organizations can be |
|
| 815 | * members of organizations; ProgramMembership is typically for individuals. |
|
| 816 | * |
|
| 817 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member |
|
| 818 | * |
|
| 819 | * @return static |
|
| 820 | * |
|
| 821 | * @see http://schema.org/member |
|
| 822 | */ |
|
| 823 | public function member($member) |
|
| 824 | { |
|
| 825 | return $this->setProperty('member', $member); |
|
| 826 | } |
|
| 827 | ||
| 828 | /** |
|
| 829 | * An Organization (or ProgramMembership) to which this Person or |
|
| 830 | * Organization belongs. |
|
| 831 | * |
|
| 832 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf |
|
| 833 | * |
|
| 834 | * @return static |
|
| 835 | * |
|
| 836 | * @see http://schema.org/memberOf |
|
| 837 | */ |
|
| 838 | public function memberOf($memberOf) |
|
| 839 | { |
|
| 840 | return $this->setProperty('memberOf', $memberOf); |
|
| 841 | } |
|
| 842 | ||
| 843 | /** |
|
| 844 | * A member of this organization. |
|
| 845 | * |
|
| 846 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members |
|
| 847 | * |
|
| 848 | * @return static |
|
| 849 | * |
|
| 850 | * @see http://schema.org/members |
|
| 851 | */ |
|
| 852 | public function members($members) |
|
| 853 | { |
|
| 854 | return $this->setProperty('members', $members); |
|
| 855 | } |
|
| 856 | ||
| 857 | /** |
|
| 858 | * The North American Industry Classification System (NAICS) code for a |
|
| 859 | * particular organization or business person. |
|
| 860 | * |
|
| 861 | * @param string|string[] $naics |
|
| 862 | * |
|
| 863 | * @return static |
|
| 864 | * |
|
| 865 | * @see http://schema.org/naics |
|
| 866 | */ |
|
| 867 | public function naics($naics) |
|
| 868 | { |
|
| 869 | return $this->setProperty('naics', $naics); |
|
| 870 | } |
|
| 871 | ||
| 872 | /** |
|
| 873 | * The name of the item. |
|
| 874 | * |
|
| 875 | * @param string|string[] $name |
|
| 876 | * |
|
| 877 | * @return static |
|
| 878 | * |
|
| 879 | * @see http://schema.org/name |
|
| 880 | */ |
|
| 881 | public function name($name) |
|
| 882 | { |
|
| 883 | return $this->setProperty('name', $name); |
|
| 884 | } |
|
| 885 | ||
| 886 | /** |
|
| 887 | * The number of employees in an organization e.g. business. |
|
| 888 | * |
|
| 889 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees |
|
| 890 | * |
|
| 891 | * @return static |
|
| 892 | * |
|
| 893 | * @see http://schema.org/numberOfEmployees |
|
| 894 | */ |
|
| 895 | public function numberOfEmployees($numberOfEmployees) |
|
| 896 | { |
|
| 897 | return $this->setProperty('numberOfEmployees', $numberOfEmployees); |
|
| 898 | } |
|
| 899 | ||
| 900 | /** |
|
| 901 | * A pointer to the organization or person making the offer. |
|
| 902 | * |
|
| 903 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy |
|
| 904 | * |
|
| 905 | * @return static |
|
| 906 | * |
|
| 907 | * @see http://schema.org/offeredBy |
|
| 908 | */ |
|
| 909 | public function offeredBy($offeredBy) |
|
| 910 | { |
|
| 911 | return $this->setProperty('offeredBy', $offeredBy); |
|
| 912 | } |
|
| 913 | ||
| 914 | /** |
|
| 915 | * The general opening hours for a business. Opening hours can be specified |
|
| 916 | * as a weekly time range, starting with days, then times per day. Multiple |
|
| 917 | * days can be listed with commas ',' separating each day. Day or time |
|
| 918 | * ranges are specified using a hyphen '-'. |
|
| 919 | * |
|
| 920 | * * Days are specified using the following two-letter combinations: |
|
| 921 | * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. |
|
| 922 | * * Times are specified using 24:00 time. For example, 3pm is specified as |
|
| 923 | * ```15:00```. |
|
| 924 | * * Here is an example: <code><time itemprop="openingHours" |
|
| 925 | * datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays |
|
| 926 | * 4-8pm</time></code>. |
|
| 927 | * * If a business is open 7 days a week, then it can be specified as |
|
| 928 | * <code><time itemprop="openingHours" |
|
| 929 | * datetime="Mo-Su">Monday through Sunday, all |
|
| 930 | * day</time></code>. |
|
| 931 | * |
|
| 932 | * @param string|string[] $openingHours |
|
| 933 | * |
|
| 934 | * @return static |
|
| 935 | * |
|
| 936 | * @see http://schema.org/openingHours |
|
| 937 | */ |
|
| 938 | public function openingHours($openingHours) |
|
| 939 | { |
|
| 940 | return $this->setProperty('openingHours', $openingHours); |
|
| 941 | } |
|
| 942 | ||
| 943 | /** |
|
| 944 | * The opening hours of a certain place. |
|
| 945 | * |
|
| 946 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification |
|
| 947 | * |
|
| 948 | * @return static |
|
| 949 | * |
|
| 950 | * @see http://schema.org/openingHoursSpecification |
|
| 951 | */ |
|
| 952 | public function openingHoursSpecification($openingHoursSpecification) |
|
| 953 | { |
|
| 954 | return $this->setProperty('openingHoursSpecification', $openingHoursSpecification); |
|
| 955 | } |
|
| 956 | ||
| 957 | /** |
|
| 958 | * Products owned by the organization or person. |
|
| 959 | * |
|
| 960 | * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns |
|
| 961 | * |
|
| 962 | * @return static |
|
| 963 | * |
|
| 964 | * @see http://schema.org/owns |
|
| 965 | */ |
|
| 966 | public function owns($owns) |
|
| 967 | { |
|
| 968 | return $this->setProperty('owns', $owns); |
|
| 969 | } |
|
| 970 | ||
| 971 | /** |
|
| 972 | * The larger organization that this organization is a [[subOrganization]] |
|
| 973 | * of, if any. |
|
| 974 | * |
|
| 975 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization |
|
| 976 | * |
|
| 977 | * @return static |
|
| 978 | * |
|
| 979 | * @see http://schema.org/parentOrganization |
|
| 980 | */ |
|
| 981 | public function parentOrganization($parentOrganization) |
|
| 982 | { |
|
| 983 | return $this->setProperty('parentOrganization', $parentOrganization); |
|
| 984 | } |
|
| 985 | ||
| 986 | /** |
|
| 987 | * A photograph of this place. |
|
| 988 | * |
|
| 989 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo |
|
| 990 | * |
|
| 991 | * @return static |
|
| 992 | * |
|
| 993 | * @see http://schema.org/photo |
|
| 994 | */ |
|
| 995 | public function photo($photo) |
|
| 996 | { |
|
| 997 | return $this->setProperty('photo', $photo); |
|
| 998 | } |
|
| 999 | ||
| 1000 | /** |
|
| 1001 | * Photographs of this place. |
|
| 1002 | * |
|
| 1003 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos |
|
| 1004 | * |
|
| 1005 | * @return static |
|
| 1006 | * |
|
| 1007 | * @see http://schema.org/photos |
|
| 1008 | */ |
|
| 1009 | public function photos($photos) |
|
| 1010 | { |
|
| 1011 | return $this->setProperty('photos', $photos); |
|
| 1012 | } |
|
| 1013 | ||
| 1014 | /** |
|
| 1015 | * Indicates a potential Action, which describes an idealized action in |
|
| 1016 | * which this thing would play an 'object' role. |
|
| 1017 | * |
|
| 1018 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
| 1019 | * |
|
| 1020 | * @return static |
|
| 1021 | * |
|
| 1022 | * @see http://schema.org/potentialAction |
|
| 1023 | */ |
|
| 1024 | public function potentialAction($potentialAction) |
|
| 1025 | { |
|
| 1026 | return $this->setProperty('potentialAction', $potentialAction); |
|
| 1027 | } |
|
| 1028 | ||
| 1029 | /** |
|
| 1030 | * A flag to signal that the [[Place]] is open to public visitors. If this |
|
| 1031 | * property is omitted there is no assumed default boolean value |
|
| 1032 | * |
|
| 1033 | * @param bool|bool[] $publicAccess |
|
| 1034 | * |
|
| 1035 | * @return static |
|
| 1036 | * |
|
| 1037 | * @see http://schema.org/publicAccess |
|
| 1038 | */ |
|
| 1039 | public function publicAccess($publicAccess) |
|
| 1040 | { |
|
| 1041 | return $this->setProperty('publicAccess', $publicAccess); |
|
| 1042 | } |
|
| 1043 | ||
| 1044 | /** |
|
| 1045 | * The publishingPrinciples property indicates (typically via [[URL]]) a |
|
| 1046 | * document describing the editorial principles of an [[Organization]] (or |
|
| 1047 | * individual e.g. a [[Person]] writing a blog) that relate to their |
|
| 1048 | * activities as a publisher, e.g. ethics or diversity policies. When |
|
| 1049 | * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are |
|
| 1050 | * those of the party primarily responsible for the creation of the |
|
| 1051 | * [[CreativeWork]]. |
|
| 1052 | * |
|
| 1053 | * While such policies are most typically expressed in natural language, |
|
| 1054 | * sometimes related information (e.g. indicating a [[funder]]) can be |
|
| 1055 | * expressed using schema.org terminology. |
|
| 1056 | * |
|
| 1057 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples |
|
| 1058 | * |
|
| 1059 | * @return static |
|
| 1060 | * |
|
| 1061 | * @see http://schema.org/publishingPrinciples |
|
| 1062 | */ |
|
| 1063 | public function publishingPrinciples($publishingPrinciples) |
|
| 1064 | { |
|
| 1065 | return $this->setProperty('publishingPrinciples', $publishingPrinciples); |
|
| 1066 | } |
|
| 1067 | ||
| 1068 | /** |
|
| 1069 | * A review of the item. |
|
| 1070 | * |
|
| 1071 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review |
|
| 1072 | * |
|
| 1073 | * @return static |
|
| 1074 | * |
|
| 1075 | * @see http://schema.org/review |
|
| 1076 | */ |
|
| 1077 | public function review($review) |
|
| 1078 | { |
|
| 1079 | return $this->setProperty('review', $review); |
|
| 1080 | } |
|
| 1081 | ||
| 1082 | /** |
|
| 1083 | * Review of the item. |
|
| 1084 | * |
|
| 1085 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews |
|
| 1086 | * |
|
| 1087 | * @return static |
|
| 1088 | * |
|
| 1089 | * @see http://schema.org/reviews |
|
| 1090 | */ |
|
| 1091 | public function reviews($reviews) |
|
| 1092 | { |
|
| 1093 | return $this->setProperty('reviews', $reviews); |
|
| 1094 | } |
|
| 1095 | ||
| 1096 | /** |
|
| 1097 | * URL of a reference Web page that unambiguously indicates the item's |
|
| 1098 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
| 1099 | * official website. |
|
| 1100 | * |
|
| 1101 | * @param string|string[] $sameAs |
|
| 1102 | * |
|
| 1103 | * @return static |
|
| 1104 | * |
|
| 1105 | * @see http://schema.org/sameAs |
|
| 1106 | */ |
|
| 1107 | public function sameAs($sameAs) |
|
| 1108 | { |
|
| 1109 | return $this->setProperty('sameAs', $sameAs); |
|
| 1110 | } |
|
| 1111 | ||
| 1112 | /** |
|
| 1113 | * A pointer to products or services sought by the organization or person |
|
| 1114 | * (demand). |
|
| 1115 | * |
|
| 1116 | * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks |
|
| 1117 | * |
|
| 1118 | * @return static |
|
| 1119 | * |
|
| 1120 | * @see http://schema.org/seeks |
|
| 1121 | */ |
|
| 1122 | public function seeks($seeks) |
|
| 1123 | { |
|
| 1124 | return $this->setProperty('seeks', $seeks); |
|
| 1125 | } |
|
| 1126 | ||
| 1127 | /** |
|
| 1128 | * The geographic area where the service is provided. |
|
| 1129 | * |
|
| 1130 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea |
|
| 1131 | * |
|
| 1132 | * @return static |
|
| 1133 | * |
|
| 1134 | * @see http://schema.org/serviceArea |
|
| 1135 | */ |
|
| 1136 | public function serviceArea($serviceArea) |
|
| 1137 | { |
|
| 1138 | return $this->setProperty('serviceArea', $serviceArea); |
|
| 1139 | } |
|
| 1140 | ||
| 1141 | /** |
|
| 1142 | * A slogan or motto associated with the item. |
|
| 1143 | * |
|
| 1144 | * @param string|string[] $slogan |
|
| 1145 | * |
|
| 1146 | * @return static |
|
| 1147 | * |
|
| 1148 | * @see http://schema.org/slogan |
|
| 1149 | */ |
|
| 1150 | public function slogan($slogan) |
|
| 1151 | { |
|
| 1152 | return $this->setProperty('slogan', $slogan); |
|
| 1153 | } |
|
| 1154 | ||
| 1155 | /** |
|
| 1156 | * Indicates whether it is allowed to smoke in the place, e.g. in the |
|
| 1157 | * restaurant, hotel or hotel room. |
|
| 1158 | * |
|
| 1159 | * @param bool|bool[] $smokingAllowed |
|
| 1160 | * |
|
| 1161 | * @return static |
|
| 1162 | * |
|
| 1163 | * @see http://schema.org/smokingAllowed |
|
| 1164 | */ |
|
| 1165 | public function smokingAllowed($smokingAllowed) |
|
| 1166 | { |
|
| 1167 | return $this->setProperty('smokingAllowed', $smokingAllowed); |
|
| 1168 | } |
|
| 1169 | ||
| 1170 | /** |
|
| 1171 | * The special opening hours of a certain place. |
|
| 1172 | * |
|
| 1173 | * Use this to explicitly override general opening hours brought in scope by |
|
| 1174 | * [[openingHoursSpecification]] or [[openingHours]]. |
|
| 1175 | * |
|
| 1176 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification |
|
| 1177 | * |
|
| 1178 | * @return static |
|
| 1179 | * |
|
| 1180 | * @see http://schema.org/specialOpeningHoursSpecification |
|
| 1181 | */ |
|
| 1182 | public function specialOpeningHoursSpecification($specialOpeningHoursSpecification) |
|
| 1183 | { |
|
| 1184 | return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification); |
|
| 1185 | } |
|
| 1186 | ||
| 1187 | /** |
|
| 1188 | * A person or organization that supports a thing through a pledge, promise, |
|
| 1189 | * or financial contribution. e.g. a sponsor of a Medical Study or a |
|
| 1190 | * corporate sponsor of an event. |
|
| 1191 | * |
|
| 1192 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor |
|
| 1193 | * |
|
| 1194 | * @return static |
|
| 1195 | * |
|
| 1196 | * @see http://schema.org/sponsor |
|
| 1197 | */ |
|
| 1198 | public function sponsor($sponsor) |
|
| 1199 | { |
|
| 1200 | return $this->setProperty('sponsor', $sponsor); |
|
| 1201 | } |
|
| 1202 | ||
| 1203 | /** |
|
| 1204 | * A relationship between two organizations where the first includes the |
|
| 1205 | * second, e.g., as a subsidiary. See also: the more specific 'department' |
|
| 1206 | * property. |
|
| 1207 | * |
|
| 1208 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization |
|
| 1209 | * |
|
| 1210 | * @return static |
|
| 1211 | * |
|
| 1212 | * @see http://schema.org/subOrganization |
|
| 1213 | */ |
|
| 1214 | public function subOrganization($subOrganization) |
|
| 1215 | { |
|
| 1216 | return $this->setProperty('subOrganization', $subOrganization); |
|
| 1217 | } |
|
| 1218 | ||
| 1219 | /** |
|
| 1220 | * A CreativeWork or Event about this Thing. |
|
| 1221 | * |
|
| 1222 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
| 1223 | * |
|
| 1224 | * @return static |
|
| 1225 | * |
|
| 1226 | * @see http://schema.org/subjectOf |
|
| 1227 | */ |
|
| 1228 | public function subjectOf($subjectOf) |
|
| 1229 | { |
|
| 1230 | return $this->setProperty('subjectOf', $subjectOf); |
|
| 1231 | } |
|
| 1232 | ||
| 1233 | /** |
|
| 1234 | * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US |
|
| 1235 | * or the CIF/NIF in Spain. |
|
| 1236 | * |
|
| 1237 | * @param string|string[] $taxID |
|
| 1238 | * |
|
| 1239 | * @return static |
|
| 1240 | * |
|
| 1241 | * @see http://schema.org/taxID |
|
| 1242 | */ |
|
| 1243 | public function taxID($taxID) |
|
| 1244 | { |
|
| 1245 | return $this->setProperty('taxID', $taxID); |
|
| 1246 | } |
|
| 1247 | ||
| 1248 | /** |
|
| 1249 | * The telephone number. |
|
| 1250 | * |
|
| 1251 | * @param string|string[] $telephone |
|
| 1252 | * |
|
| 1253 | * @return static |
|
| 1254 | * |
|
| 1255 | * @see http://schema.org/telephone |
|
| 1256 | */ |
|
| 1257 | public function telephone($telephone) |
|
| 1258 | { |
|
| 1259 | return $this->setProperty('telephone', $telephone); |
|
| 1260 | } |
|
| 1261 | ||
| 1262 | /** |
|
| 1263 | * URL of the item. |
|
| 1264 | * |
|
| 1265 | * @param string|string[] $url |
|
| 1266 | * |
|
| 1267 | * @return static |
|
| 1268 | * |
|
| 1269 | * @see http://schema.org/url |
|
| 1270 | */ |
|
| 1271 | public function url($url) |
|
| 1272 | { |
|
| 1273 | return $this->setProperty('url', $url); |
|
| 1274 | } |
|
| 1275 | ||
| 1276 | /** |
|
| 1277 | * The Value-added Tax ID of the organization or person. |
|
| 1278 | * |
|
| 1279 | * @param string|string[] $vatID |
|
| 1280 | * |
|
| 1281 | * @return static |
|
| 1282 | * |
|
| 1283 | * @see http://schema.org/vatID |
|
| 1284 | */ |
|
| 1285 | public function vatID($vatID) |
|
| 1286 | { |
|
| 1287 | return $this->setProperty('vatID', $vatID); |
|
| 1288 | } |
|
| 1289 | ||
| 1290 | } |
|
| 1291 | ||
| @@ 18-1290 (lines=1273) @@ | ||
| 15 | * @see http://schema.org/HighSchool |
|
| 16 | * |
|
| 17 | */ |
|
| 18 | class HighSchool extends BaseType implements HighSchoolContract, CivicStructureContract, EducationalOrganizationContract, OrganizationContract, PlaceContract, ThingContract |
|
| 19 | { |
|
| 20 | /** |
|
| 21 | * A property-value pair representing an additional characteristics of the |
|
| 22 | * entitity, e.g. a product feature or another characteristic for which |
|
| 23 | * there is no matching property in schema.org. |
|
| 24 | * |
|
| 25 | * Note: Publishers should be aware that applications designed to use |
|
| 26 | * specific schema.org properties (e.g. http://schema.org/width, |
|
| 27 | * http://schema.org/color, http://schema.org/gtin13, ...) will typically |
|
| 28 | * expect such data to be provided using those properties, rather than using |
|
| 29 | * the generic property/value mechanism. |
|
| 30 | * |
|
| 31 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty |
|
| 32 | * |
|
| 33 | * @return static |
|
| 34 | * |
|
| 35 | * @see http://schema.org/additionalProperty |
|
| 36 | */ |
|
| 37 | public function additionalProperty($additionalProperty) |
|
| 38 | { |
|
| 39 | return $this->setProperty('additionalProperty', $additionalProperty); |
|
| 40 | } |
|
| 41 | ||
| 42 | /** |
|
| 43 | * An additional type for the item, typically used for adding more specific |
|
| 44 | * types from external vocabularies in microdata syntax. This is a |
|
| 45 | * relationship between something and a class that the thing is in. In RDFa |
|
| 46 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
| 47 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
| 48 | * understanding of extra types, in particular those defined externally. |
|
| 49 | * |
|
| 50 | * @param string|string[] $additionalType |
|
| 51 | * |
|
| 52 | * @return static |
|
| 53 | * |
|
| 54 | * @see http://schema.org/additionalType |
|
| 55 | */ |
|
| 56 | public function additionalType($additionalType) |
|
| 57 | { |
|
| 58 | return $this->setProperty('additionalType', $additionalType); |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * Physical address of the item. |
|
| 63 | * |
|
| 64 | * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address |
|
| 65 | * |
|
| 66 | * @return static |
|
| 67 | * |
|
| 68 | * @see http://schema.org/address |
|
| 69 | */ |
|
| 70 | public function address($address) |
|
| 71 | { |
|
| 72 | return $this->setProperty('address', $address); |
|
| 73 | } |
|
| 74 | ||
| 75 | /** |
|
| 76 | * The overall rating, based on a collection of reviews or ratings, of the |
|
| 77 | * item. |
|
| 78 | * |
|
| 79 | * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating |
|
| 80 | * |
|
| 81 | * @return static |
|
| 82 | * |
|
| 83 | * @see http://schema.org/aggregateRating |
|
| 84 | */ |
|
| 85 | public function aggregateRating($aggregateRating) |
|
| 86 | { |
|
| 87 | return $this->setProperty('aggregateRating', $aggregateRating); |
|
| 88 | } |
|
| 89 | ||
| 90 | /** |
|
| 91 | * An alias for the item. |
|
| 92 | * |
|
| 93 | * @param string|string[] $alternateName |
|
| 94 | * |
|
| 95 | * @return static |
|
| 96 | * |
|
| 97 | * @see http://schema.org/alternateName |
|
| 98 | */ |
|
| 99 | public function alternateName($alternateName) |
|
| 100 | { |
|
| 101 | return $this->setProperty('alternateName', $alternateName); |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * Alumni of an organization. |
|
| 106 | * |
|
| 107 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni |
|
| 108 | * |
|
| 109 | * @return static |
|
| 110 | * |
|
| 111 | * @see http://schema.org/alumni |
|
| 112 | */ |
|
| 113 | public function alumni($alumni) |
|
| 114 | { |
|
| 115 | return $this->setProperty('alumni', $alumni); |
|
| 116 | } |
|
| 117 | ||
| 118 | /** |
|
| 119 | * An amenity feature (e.g. a characteristic or service) of the |
|
| 120 | * Accommodation. This generic property does not make a statement about |
|
| 121 | * whether the feature is included in an offer for the main accommodation or |
|
| 122 | * available at extra costs. |
|
| 123 | * |
|
| 124 | * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature |
|
| 125 | * |
|
| 126 | * @return static |
|
| 127 | * |
|
| 128 | * @see http://schema.org/amenityFeature |
|
| 129 | */ |
|
| 130 | public function amenityFeature($amenityFeature) |
|
| 131 | { |
|
| 132 | return $this->setProperty('amenityFeature', $amenityFeature); |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * The geographic area where a service or offered item is provided. |
|
| 137 | * |
|
| 138 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed |
|
| 139 | * |
|
| 140 | * @return static |
|
| 141 | * |
|
| 142 | * @see http://schema.org/areaServed |
|
| 143 | */ |
|
| 144 | public function areaServed($areaServed) |
|
| 145 | { |
|
| 146 | return $this->setProperty('areaServed', $areaServed); |
|
| 147 | } |
|
| 148 | ||
| 149 | /** |
|
| 150 | * An award won by or for this item. |
|
| 151 | * |
|
| 152 | * @param string|string[] $award |
|
| 153 | * |
|
| 154 | * @return static |
|
| 155 | * |
|
| 156 | * @see http://schema.org/award |
|
| 157 | */ |
|
| 158 | public function award($award) |
|
| 159 | { |
|
| 160 | return $this->setProperty('award', $award); |
|
| 161 | } |
|
| 162 | ||
| 163 | /** |
|
| 164 | * Awards won by or for this item. |
|
| 165 | * |
|
| 166 | * @param string|string[] $awards |
|
| 167 | * |
|
| 168 | * @return static |
|
| 169 | * |
|
| 170 | * @see http://schema.org/awards |
|
| 171 | */ |
|
| 172 | public function awards($awards) |
|
| 173 | { |
|
| 174 | return $this->setProperty('awards', $awards); |
|
| 175 | } |
|
| 176 | ||
| 177 | /** |
|
| 178 | * A short textual code (also called "store code") that uniquely identifies |
|
| 179 | * a place of business. The code is typically assigned by the |
|
| 180 | * parentOrganization and used in structured URLs. |
|
| 181 | * |
|
| 182 | * For example, in the URL |
|
| 183 | * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" |
|
| 184 | * is a branchCode for a particular branch. |
|
| 185 | * |
|
| 186 | * @param string|string[] $branchCode |
|
| 187 | * |
|
| 188 | * @return static |
|
| 189 | * |
|
| 190 | * @see http://schema.org/branchCode |
|
| 191 | */ |
|
| 192 | public function branchCode($branchCode) |
|
| 193 | { |
|
| 194 | return $this->setProperty('branchCode', $branchCode); |
|
| 195 | } |
|
| 196 | ||
| 197 | /** |
|
| 198 | * The brand(s) associated with a product or service, or the brand(s) |
|
| 199 | * maintained by an organization or business person. |
|
| 200 | * |
|
| 201 | * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand |
|
| 202 | * |
|
| 203 | * @return static |
|
| 204 | * |
|
| 205 | * @see http://schema.org/brand |
|
| 206 | */ |
|
| 207 | public function brand($brand) |
|
| 208 | { |
|
| 209 | return $this->setProperty('brand', $brand); |
|
| 210 | } |
|
| 211 | ||
| 212 | /** |
|
| 213 | * A contact point for a person or organization. |
|
| 214 | * |
|
| 215 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint |
|
| 216 | * |
|
| 217 | * @return static |
|
| 218 | * |
|
| 219 | * @see http://schema.org/contactPoint |
|
| 220 | */ |
|
| 221 | public function contactPoint($contactPoint) |
|
| 222 | { |
|
| 223 | return $this->setProperty('contactPoint', $contactPoint); |
|
| 224 | } |
|
| 225 | ||
| 226 | /** |
|
| 227 | * A contact point for a person or organization. |
|
| 228 | * |
|
| 229 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints |
|
| 230 | * |
|
| 231 | * @return static |
|
| 232 | * |
|
| 233 | * @see http://schema.org/contactPoints |
|
| 234 | */ |
|
| 235 | public function contactPoints($contactPoints) |
|
| 236 | { |
|
| 237 | return $this->setProperty('contactPoints', $contactPoints); |
|
| 238 | } |
|
| 239 | ||
| 240 | /** |
|
| 241 | * The basic containment relation between a place and one that contains it. |
|
| 242 | * |
|
| 243 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn |
|
| 244 | * |
|
| 245 | * @return static |
|
| 246 | * |
|
| 247 | * @see http://schema.org/containedIn |
|
| 248 | */ |
|
| 249 | public function containedIn($containedIn) |
|
| 250 | { |
|
| 251 | return $this->setProperty('containedIn', $containedIn); |
|
| 252 | } |
|
| 253 | ||
| 254 | /** |
|
| 255 | * The basic containment relation between a place and one that contains it. |
|
| 256 | * |
|
| 257 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace |
|
| 258 | * |
|
| 259 | * @return static |
|
| 260 | * |
|
| 261 | * @see http://schema.org/containedInPlace |
|
| 262 | */ |
|
| 263 | public function containedInPlace($containedInPlace) |
|
| 264 | { |
|
| 265 | return $this->setProperty('containedInPlace', $containedInPlace); |
|
| 266 | } |
|
| 267 | ||
| 268 | /** |
|
| 269 | * The basic containment relation between a place and another that it |
|
| 270 | * contains. |
|
| 271 | * |
|
| 272 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace |
|
| 273 | * |
|
| 274 | * @return static |
|
| 275 | * |
|
| 276 | * @see http://schema.org/containsPlace |
|
| 277 | */ |
|
| 278 | public function containsPlace($containsPlace) |
|
| 279 | { |
|
| 280 | return $this->setProperty('containsPlace', $containsPlace); |
|
| 281 | } |
|
| 282 | ||
| 283 | /** |
|
| 284 | * A relationship between an organization and a department of that |
|
| 285 | * organization, also described as an organization (allowing different urls, |
|
| 286 | * logos, opening hours). For example: a store with a pharmacy, or a bakery |
|
| 287 | * with a cafe. |
|
| 288 | * |
|
| 289 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department |
|
| 290 | * |
|
| 291 | * @return static |
|
| 292 | * |
|
| 293 | * @see http://schema.org/department |
|
| 294 | */ |
|
| 295 | public function department($department) |
|
| 296 | { |
|
| 297 | return $this->setProperty('department', $department); |
|
| 298 | } |
|
| 299 | ||
| 300 | /** |
|
| 301 | * A description of the item. |
|
| 302 | * |
|
| 303 | * @param string|string[] $description |
|
| 304 | * |
|
| 305 | * @return static |
|
| 306 | * |
|
| 307 | * @see http://schema.org/description |
|
| 308 | */ |
|
| 309 | public function description($description) |
|
| 310 | { |
|
| 311 | return $this->setProperty('description', $description); |
|
| 312 | } |
|
| 313 | ||
| 314 | /** |
|
| 315 | * A sub property of description. A short description of the item used to |
|
| 316 | * disambiguate from other, similar items. Information from other properties |
|
| 317 | * (in particular, name) may be necessary for the description to be useful |
|
| 318 | * for disambiguation. |
|
| 319 | * |
|
| 320 | * @param string|string[] $disambiguatingDescription |
|
| 321 | * |
|
| 322 | * @return static |
|
| 323 | * |
|
| 324 | * @see http://schema.org/disambiguatingDescription |
|
| 325 | */ |
|
| 326 | public function disambiguatingDescription($disambiguatingDescription) |
|
| 327 | { |
|
| 328 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
| 329 | } |
|
| 330 | ||
| 331 | /** |
|
| 332 | * The date that this organization was dissolved. |
|
| 333 | * |
|
| 334 | * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate |
|
| 335 | * |
|
| 336 | * @return static |
|
| 337 | * |
|
| 338 | * @see http://schema.org/dissolutionDate |
|
| 339 | */ |
|
| 340 | public function dissolutionDate($dissolutionDate) |
|
| 341 | { |
|
| 342 | return $this->setProperty('dissolutionDate', $dissolutionDate); |
|
| 343 | } |
|
| 344 | ||
| 345 | /** |
|
| 346 | * The Dun & Bradstreet DUNS number for identifying an organization or |
|
| 347 | * business person. |
|
| 348 | * |
|
| 349 | * @param string|string[] $duns |
|
| 350 | * |
|
| 351 | * @return static |
|
| 352 | * |
|
| 353 | * @see http://schema.org/duns |
|
| 354 | */ |
|
| 355 | public function duns($duns) |
|
| 356 | { |
|
| 357 | return $this->setProperty('duns', $duns); |
|
| 358 | } |
|
| 359 | ||
| 360 | /** |
|
| 361 | * Email address. |
|
| 362 | * |
|
| 363 | * @param string|string[] $email |
|
| 364 | * |
|
| 365 | * @return static |
|
| 366 | * |
|
| 367 | * @see http://schema.org/email |
|
| 368 | */ |
|
| 369 | public function email($email) |
|
| 370 | { |
|
| 371 | return $this->setProperty('email', $email); |
|
| 372 | } |
|
| 373 | ||
| 374 | /** |
|
| 375 | * Someone working for this organization. |
|
| 376 | * |
|
| 377 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee |
|
| 378 | * |
|
| 379 | * @return static |
|
| 380 | * |
|
| 381 | * @see http://schema.org/employee |
|
| 382 | */ |
|
| 383 | public function employee($employee) |
|
| 384 | { |
|
| 385 | return $this->setProperty('employee', $employee); |
|
| 386 | } |
|
| 387 | ||
| 388 | /** |
|
| 389 | * People working for this organization. |
|
| 390 | * |
|
| 391 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees |
|
| 392 | * |
|
| 393 | * @return static |
|
| 394 | * |
|
| 395 | * @see http://schema.org/employees |
|
| 396 | */ |
|
| 397 | public function employees($employees) |
|
| 398 | { |
|
| 399 | return $this->setProperty('employees', $employees); |
|
| 400 | } |
|
| 401 | ||
| 402 | /** |
|
| 403 | * Upcoming or past event associated with this place, organization, or |
|
| 404 | * action. |
|
| 405 | * |
|
| 406 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event |
|
| 407 | * |
|
| 408 | * @return static |
|
| 409 | * |
|
| 410 | * @see http://schema.org/event |
|
| 411 | */ |
|
| 412 | public function event($event) |
|
| 413 | { |
|
| 414 | return $this->setProperty('event', $event); |
|
| 415 | } |
|
| 416 | ||
| 417 | /** |
|
| 418 | * Upcoming or past events associated with this place or organization. |
|
| 419 | * |
|
| 420 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events |
|
| 421 | * |
|
| 422 | * @return static |
|
| 423 | * |
|
| 424 | * @see http://schema.org/events |
|
| 425 | */ |
|
| 426 | public function events($events) |
|
| 427 | { |
|
| 428 | return $this->setProperty('events', $events); |
|
| 429 | } |
|
| 430 | ||
| 431 | /** |
|
| 432 | * The fax number. |
|
| 433 | * |
|
| 434 | * @param string|string[] $faxNumber |
|
| 435 | * |
|
| 436 | * @return static |
|
| 437 | * |
|
| 438 | * @see http://schema.org/faxNumber |
|
| 439 | */ |
|
| 440 | public function faxNumber($faxNumber) |
|
| 441 | { |
|
| 442 | return $this->setProperty('faxNumber', $faxNumber); |
|
| 443 | } |
|
| 444 | ||
| 445 | /** |
|
| 446 | * A person who founded this organization. |
|
| 447 | * |
|
| 448 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder |
|
| 449 | * |
|
| 450 | * @return static |
|
| 451 | * |
|
| 452 | * @see http://schema.org/founder |
|
| 453 | */ |
|
| 454 | public function founder($founder) |
|
| 455 | { |
|
| 456 | return $this->setProperty('founder', $founder); |
|
| 457 | } |
|
| 458 | ||
| 459 | /** |
|
| 460 | * A person who founded this organization. |
|
| 461 | * |
|
| 462 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders |
|
| 463 | * |
|
| 464 | * @return static |
|
| 465 | * |
|
| 466 | * @see http://schema.org/founders |
|
| 467 | */ |
|
| 468 | public function founders($founders) |
|
| 469 | { |
|
| 470 | return $this->setProperty('founders', $founders); |
|
| 471 | } |
|
| 472 | ||
| 473 | /** |
|
| 474 | * The date that this organization was founded. |
|
| 475 | * |
|
| 476 | * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate |
|
| 477 | * |
|
| 478 | * @return static |
|
| 479 | * |
|
| 480 | * @see http://schema.org/foundingDate |
|
| 481 | */ |
|
| 482 | public function foundingDate($foundingDate) |
|
| 483 | { |
|
| 484 | return $this->setProperty('foundingDate', $foundingDate); |
|
| 485 | } |
|
| 486 | ||
| 487 | /** |
|
| 488 | * The place where the Organization was founded. |
|
| 489 | * |
|
| 490 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation |
|
| 491 | * |
|
| 492 | * @return static |
|
| 493 | * |
|
| 494 | * @see http://schema.org/foundingLocation |
|
| 495 | */ |
|
| 496 | public function foundingLocation($foundingLocation) |
|
| 497 | { |
|
| 498 | return $this->setProperty('foundingLocation', $foundingLocation); |
|
| 499 | } |
|
| 500 | ||
| 501 | /** |
|
| 502 | * A person or organization that supports (sponsors) something through some |
|
| 503 | * kind of financial contribution. |
|
| 504 | * |
|
| 505 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder |
|
| 506 | * |
|
| 507 | * @return static |
|
| 508 | * |
|
| 509 | * @see http://schema.org/funder |
|
| 510 | */ |
|
| 511 | public function funder($funder) |
|
| 512 | { |
|
| 513 | return $this->setProperty('funder', $funder); |
|
| 514 | } |
|
| 515 | ||
| 516 | /** |
|
| 517 | * The geo coordinates of the place. |
|
| 518 | * |
|
| 519 | * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo |
|
| 520 | * |
|
| 521 | * @return static |
|
| 522 | * |
|
| 523 | * @see http://schema.org/geo |
|
| 524 | */ |
|
| 525 | public function geo($geo) |
|
| 526 | { |
|
| 527 | return $this->setProperty('geo', $geo); |
|
| 528 | } |
|
| 529 | ||
| 530 | /** |
|
| 531 | * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also |
|
| 532 | * referred to as International Location Number or ILN) of the respective |
|
| 533 | * organization, person, or place. The GLN is a 13-digit number used to |
|
| 534 | * identify parties and physical locations. |
|
| 535 | * |
|
| 536 | * @param string|string[] $globalLocationNumber |
|
| 537 | * |
|
| 538 | * @return static |
|
| 539 | * |
|
| 540 | * @see http://schema.org/globalLocationNumber |
|
| 541 | */ |
|
| 542 | public function globalLocationNumber($globalLocationNumber) |
|
| 543 | { |
|
| 544 | return $this->setProperty('globalLocationNumber', $globalLocationNumber); |
|
| 545 | } |
|
| 546 | ||
| 547 | /** |
|
| 548 | * A URL to a map of the place. |
|
| 549 | * |
|
| 550 | * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap |
|
| 551 | * |
|
| 552 | * @return static |
|
| 553 | * |
|
| 554 | * @see http://schema.org/hasMap |
|
| 555 | */ |
|
| 556 | public function hasMap($hasMap) |
|
| 557 | { |
|
| 558 | return $this->setProperty('hasMap', $hasMap); |
|
| 559 | } |
|
| 560 | ||
| 561 | /** |
|
| 562 | * Indicates an OfferCatalog listing for this Organization, Person, or |
|
| 563 | * Service. |
|
| 564 | * |
|
| 565 | * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog |
|
| 566 | * |
|
| 567 | * @return static |
|
| 568 | * |
|
| 569 | * @see http://schema.org/hasOfferCatalog |
|
| 570 | */ |
|
| 571 | public function hasOfferCatalog($hasOfferCatalog) |
|
| 572 | { |
|
| 573 | return $this->setProperty('hasOfferCatalog', $hasOfferCatalog); |
|
| 574 | } |
|
| 575 | ||
| 576 | /** |
|
| 577 | * Points-of-Sales operated by the organization or person. |
|
| 578 | * |
|
| 579 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS |
|
| 580 | * |
|
| 581 | * @return static |
|
| 582 | * |
|
| 583 | * @see http://schema.org/hasPOS |
|
| 584 | */ |
|
| 585 | public function hasPOS($hasPOS) |
|
| 586 | { |
|
| 587 | return $this->setProperty('hasPOS', $hasPOS); |
|
| 588 | } |
|
| 589 | ||
| 590 | /** |
|
| 591 | * The identifier property represents any kind of identifier for any kind of |
|
| 592 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
| 593 | * dedicated properties for representing many of these, either as textual |
|
| 594 | * strings or as URL (URI) links. See [background |
|
| 595 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
| 596 | * |
|
| 597 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
| 598 | * |
|
| 599 | * @return static |
|
| 600 | * |
|
| 601 | * @see http://schema.org/identifier |
|
| 602 | */ |
|
| 603 | public function identifier($identifier) |
|
| 604 | { |
|
| 605 | return $this->setProperty('identifier', $identifier); |
|
| 606 | } |
|
| 607 | ||
| 608 | /** |
|
| 609 | * An image of the item. This can be a [[URL]] or a fully described |
|
| 610 | * [[ImageObject]]. |
|
| 611 | * |
|
| 612 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
| 613 | * |
|
| 614 | * @return static |
|
| 615 | * |
|
| 616 | * @see http://schema.org/image |
|
| 617 | */ |
|
| 618 | public function image($image) |
|
| 619 | { |
|
| 620 | return $this->setProperty('image', $image); |
|
| 621 | } |
|
| 622 | ||
| 623 | /** |
|
| 624 | * A flag to signal that the item, event, or place is accessible for free. |
|
| 625 | * |
|
| 626 | * @param bool|bool[] $isAccessibleForFree |
|
| 627 | * |
|
| 628 | * @return static |
|
| 629 | * |
|
| 630 | * @see http://schema.org/isAccessibleForFree |
|
| 631 | */ |
|
| 632 | public function isAccessibleForFree($isAccessibleForFree) |
|
| 633 | { |
|
| 634 | return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); |
|
| 635 | } |
|
| 636 | ||
| 637 | /** |
|
| 638 | * The International Standard of Industrial Classification of All Economic |
|
| 639 | * Activities (ISIC), Revision 4 code for a particular organization, |
|
| 640 | * business person, or place. |
|
| 641 | * |
|
| 642 | * @param string|string[] $isicV4 |
|
| 643 | * |
|
| 644 | * @return static |
|
| 645 | * |
|
| 646 | * @see http://schema.org/isicV4 |
|
| 647 | */ |
|
| 648 | public function isicV4($isicV4) |
|
| 649 | { |
|
| 650 | return $this->setProperty('isicV4', $isicV4); |
|
| 651 | } |
|
| 652 | ||
| 653 | /** |
|
| 654 | * The latitude of a location. For example ```37.42242``` ([WGS |
|
| 655 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 656 | * |
|
| 657 | * @param float|float[]|int|int[]|string|string[] $latitude |
|
| 658 | * |
|
| 659 | * @return static |
|
| 660 | * |
|
| 661 | * @see http://schema.org/latitude |
|
| 662 | */ |
|
| 663 | public function latitude($latitude) |
|
| 664 | { |
|
| 665 | return $this->setProperty('latitude', $latitude); |
|
| 666 | } |
|
| 667 | ||
| 668 | /** |
|
| 669 | * The official name of the organization, e.g. the registered company name. |
|
| 670 | * |
|
| 671 | * @param string|string[] $legalName |
|
| 672 | * |
|
| 673 | * @return static |
|
| 674 | * |
|
| 675 | * @see http://schema.org/legalName |
|
| 676 | */ |
|
| 677 | public function legalName($legalName) |
|
| 678 | { |
|
| 679 | return $this->setProperty('legalName', $legalName); |
|
| 680 | } |
|
| 681 | ||
| 682 | /** |
|
| 683 | * An organization identifier that uniquely identifies a legal entity as |
|
| 684 | * defined in ISO 17442. |
|
| 685 | * |
|
| 686 | * @param string|string[] $leiCode |
|
| 687 | * |
|
| 688 | * @return static |
|
| 689 | * |
|
| 690 | * @see http://schema.org/leiCode |
|
| 691 | */ |
|
| 692 | public function leiCode($leiCode) |
|
| 693 | { |
|
| 694 | return $this->setProperty('leiCode', $leiCode); |
|
| 695 | } |
|
| 696 | ||
| 697 | /** |
|
| 698 | * The location of for example where the event is happening, an organization |
|
| 699 | * is located, or where an action takes place. |
|
| 700 | * |
|
| 701 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location |
|
| 702 | * |
|
| 703 | * @return static |
|
| 704 | * |
|
| 705 | * @see http://schema.org/location |
|
| 706 | */ |
|
| 707 | public function location($location) |
|
| 708 | { |
|
| 709 | return $this->setProperty('location', $location); |
|
| 710 | } |
|
| 711 | ||
| 712 | /** |
|
| 713 | * An associated logo. |
|
| 714 | * |
|
| 715 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo |
|
| 716 | * |
|
| 717 | * @return static |
|
| 718 | * |
|
| 719 | * @see http://schema.org/logo |
|
| 720 | */ |
|
| 721 | public function logo($logo) |
|
| 722 | { |
|
| 723 | return $this->setProperty('logo', $logo); |
|
| 724 | } |
|
| 725 | ||
| 726 | /** |
|
| 727 | * The longitude of a location. For example ```-122.08585``` ([WGS |
|
| 728 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 729 | * |
|
| 730 | * @param float|float[]|int|int[]|string|string[] $longitude |
|
| 731 | * |
|
| 732 | * @return static |
|
| 733 | * |
|
| 734 | * @see http://schema.org/longitude |
|
| 735 | */ |
|
| 736 | public function longitude($longitude) |
|
| 737 | { |
|
| 738 | return $this->setProperty('longitude', $longitude); |
|
| 739 | } |
|
| 740 | ||
| 741 | /** |
|
| 742 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
| 743 | * entity being described. See [background |
|
| 744 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
| 745 | * |
|
| 746 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
| 747 | * |
|
| 748 | * @return static |
|
| 749 | * |
|
| 750 | * @see http://schema.org/mainEntityOfPage |
|
| 751 | */ |
|
| 752 | public function mainEntityOfPage($mainEntityOfPage) |
|
| 753 | { |
|
| 754 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
| 755 | } |
|
| 756 | ||
| 757 | /** |
|
| 758 | * A pointer to products or services offered by the organization or person. |
|
| 759 | * |
|
| 760 | * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer |
|
| 761 | * |
|
| 762 | * @return static |
|
| 763 | * |
|
| 764 | * @see http://schema.org/makesOffer |
|
| 765 | */ |
|
| 766 | public function makesOffer($makesOffer) |
|
| 767 | { |
|
| 768 | return $this->setProperty('makesOffer', $makesOffer); |
|
| 769 | } |
|
| 770 | ||
| 771 | /** |
|
| 772 | * A URL to a map of the place. |
|
| 773 | * |
|
| 774 | * @param string|string[] $map |
|
| 775 | * |
|
| 776 | * @return static |
|
| 777 | * |
|
| 778 | * @see http://schema.org/map |
|
| 779 | */ |
|
| 780 | public function map($map) |
|
| 781 | { |
|
| 782 | return $this->setProperty('map', $map); |
|
| 783 | } |
|
| 784 | ||
| 785 | /** |
|
| 786 | * A URL to a map of the place. |
|
| 787 | * |
|
| 788 | * @param string|string[] $maps |
|
| 789 | * |
|
| 790 | * @return static |
|
| 791 | * |
|
| 792 | * @see http://schema.org/maps |
|
| 793 | */ |
|
| 794 | public function maps($maps) |
|
| 795 | { |
|
| 796 | return $this->setProperty('maps', $maps); |
|
| 797 | } |
|
| 798 | ||
| 799 | /** |
|
| 800 | * The total number of individuals that may attend an event or venue. |
|
| 801 | * |
|
| 802 | * @param int|int[] $maximumAttendeeCapacity |
|
| 803 | * |
|
| 804 | * @return static |
|
| 805 | * |
|
| 806 | * @see http://schema.org/maximumAttendeeCapacity |
|
| 807 | */ |
|
| 808 | public function maximumAttendeeCapacity($maximumAttendeeCapacity) |
|
| 809 | { |
|
| 810 | return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity); |
|
| 811 | } |
|
| 812 | ||
| 813 | /** |
|
| 814 | * A member of an Organization or a ProgramMembership. Organizations can be |
|
| 815 | * members of organizations; ProgramMembership is typically for individuals. |
|
| 816 | * |
|
| 817 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member |
|
| 818 | * |
|
| 819 | * @return static |
|
| 820 | * |
|
| 821 | * @see http://schema.org/member |
|
| 822 | */ |
|
| 823 | public function member($member) |
|
| 824 | { |
|
| 825 | return $this->setProperty('member', $member); |
|
| 826 | } |
|
| 827 | ||
| 828 | /** |
|
| 829 | * An Organization (or ProgramMembership) to which this Person or |
|
| 830 | * Organization belongs. |
|
| 831 | * |
|
| 832 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf |
|
| 833 | * |
|
| 834 | * @return static |
|
| 835 | * |
|
| 836 | * @see http://schema.org/memberOf |
|
| 837 | */ |
|
| 838 | public function memberOf($memberOf) |
|
| 839 | { |
|
| 840 | return $this->setProperty('memberOf', $memberOf); |
|
| 841 | } |
|
| 842 | ||
| 843 | /** |
|
| 844 | * A member of this organization. |
|
| 845 | * |
|
| 846 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members |
|
| 847 | * |
|
| 848 | * @return static |
|
| 849 | * |
|
| 850 | * @see http://schema.org/members |
|
| 851 | */ |
|
| 852 | public function members($members) |
|
| 853 | { |
|
| 854 | return $this->setProperty('members', $members); |
|
| 855 | } |
|
| 856 | ||
| 857 | /** |
|
| 858 | * The North American Industry Classification System (NAICS) code for a |
|
| 859 | * particular organization or business person. |
|
| 860 | * |
|
| 861 | * @param string|string[] $naics |
|
| 862 | * |
|
| 863 | * @return static |
|
| 864 | * |
|
| 865 | * @see http://schema.org/naics |
|
| 866 | */ |
|
| 867 | public function naics($naics) |
|
| 868 | { |
|
| 869 | return $this->setProperty('naics', $naics); |
|
| 870 | } |
|
| 871 | ||
| 872 | /** |
|
| 873 | * The name of the item. |
|
| 874 | * |
|
| 875 | * @param string|string[] $name |
|
| 876 | * |
|
| 877 | * @return static |
|
| 878 | * |
|
| 879 | * @see http://schema.org/name |
|
| 880 | */ |
|
| 881 | public function name($name) |
|
| 882 | { |
|
| 883 | return $this->setProperty('name', $name); |
|
| 884 | } |
|
| 885 | ||
| 886 | /** |
|
| 887 | * The number of employees in an organization e.g. business. |
|
| 888 | * |
|
| 889 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees |
|
| 890 | * |
|
| 891 | * @return static |
|
| 892 | * |
|
| 893 | * @see http://schema.org/numberOfEmployees |
|
| 894 | */ |
|
| 895 | public function numberOfEmployees($numberOfEmployees) |
|
| 896 | { |
|
| 897 | return $this->setProperty('numberOfEmployees', $numberOfEmployees); |
|
| 898 | } |
|
| 899 | ||
| 900 | /** |
|
| 901 | * A pointer to the organization or person making the offer. |
|
| 902 | * |
|
| 903 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy |
|
| 904 | * |
|
| 905 | * @return static |
|
| 906 | * |
|
| 907 | * @see http://schema.org/offeredBy |
|
| 908 | */ |
|
| 909 | public function offeredBy($offeredBy) |
|
| 910 | { |
|
| 911 | return $this->setProperty('offeredBy', $offeredBy); |
|
| 912 | } |
|
| 913 | ||
| 914 | /** |
|
| 915 | * The general opening hours for a business. Opening hours can be specified |
|
| 916 | * as a weekly time range, starting with days, then times per day. Multiple |
|
| 917 | * days can be listed with commas ',' separating each day. Day or time |
|
| 918 | * ranges are specified using a hyphen '-'. |
|
| 919 | * |
|
| 920 | * * Days are specified using the following two-letter combinations: |
|
| 921 | * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. |
|
| 922 | * * Times are specified using 24:00 time. For example, 3pm is specified as |
|
| 923 | * ```15:00```. |
|
| 924 | * * Here is an example: <code><time itemprop="openingHours" |
|
| 925 | * datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays |
|
| 926 | * 4-8pm</time></code>. |
|
| 927 | * * If a business is open 7 days a week, then it can be specified as |
|
| 928 | * <code><time itemprop="openingHours" |
|
| 929 | * datetime="Mo-Su">Monday through Sunday, all |
|
| 930 | * day</time></code>. |
|
| 931 | * |
|
| 932 | * @param string|string[] $openingHours |
|
| 933 | * |
|
| 934 | * @return static |
|
| 935 | * |
|
| 936 | * @see http://schema.org/openingHours |
|
| 937 | */ |
|
| 938 | public function openingHours($openingHours) |
|
| 939 | { |
|
| 940 | return $this->setProperty('openingHours', $openingHours); |
|
| 941 | } |
|
| 942 | ||
| 943 | /** |
|
| 944 | * The opening hours of a certain place. |
|
| 945 | * |
|
| 946 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification |
|
| 947 | * |
|
| 948 | * @return static |
|
| 949 | * |
|
| 950 | * @see http://schema.org/openingHoursSpecification |
|
| 951 | */ |
|
| 952 | public function openingHoursSpecification($openingHoursSpecification) |
|
| 953 | { |
|
| 954 | return $this->setProperty('openingHoursSpecification', $openingHoursSpecification); |
|
| 955 | } |
|
| 956 | ||
| 957 | /** |
|
| 958 | * Products owned by the organization or person. |
|
| 959 | * |
|
| 960 | * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns |
|
| 961 | * |
|
| 962 | * @return static |
|
| 963 | * |
|
| 964 | * @see http://schema.org/owns |
|
| 965 | */ |
|
| 966 | public function owns($owns) |
|
| 967 | { |
|
| 968 | return $this->setProperty('owns', $owns); |
|
| 969 | } |
|
| 970 | ||
| 971 | /** |
|
| 972 | * The larger organization that this organization is a [[subOrganization]] |
|
| 973 | * of, if any. |
|
| 974 | * |
|
| 975 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization |
|
| 976 | * |
|
| 977 | * @return static |
|
| 978 | * |
|
| 979 | * @see http://schema.org/parentOrganization |
|
| 980 | */ |
|
| 981 | public function parentOrganization($parentOrganization) |
|
| 982 | { |
|
| 983 | return $this->setProperty('parentOrganization', $parentOrganization); |
|
| 984 | } |
|
| 985 | ||
| 986 | /** |
|
| 987 | * A photograph of this place. |
|
| 988 | * |
|
| 989 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo |
|
| 990 | * |
|
| 991 | * @return static |
|
| 992 | * |
|
| 993 | * @see http://schema.org/photo |
|
| 994 | */ |
|
| 995 | public function photo($photo) |
|
| 996 | { |
|
| 997 | return $this->setProperty('photo', $photo); |
|
| 998 | } |
|
| 999 | ||
| 1000 | /** |
|
| 1001 | * Photographs of this place. |
|
| 1002 | * |
|
| 1003 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos |
|
| 1004 | * |
|
| 1005 | * @return static |
|
| 1006 | * |
|
| 1007 | * @see http://schema.org/photos |
|
| 1008 | */ |
|
| 1009 | public function photos($photos) |
|
| 1010 | { |
|
| 1011 | return $this->setProperty('photos', $photos); |
|
| 1012 | } |
|
| 1013 | ||
| 1014 | /** |
|
| 1015 | * Indicates a potential Action, which describes an idealized action in |
|
| 1016 | * which this thing would play an 'object' role. |
|
| 1017 | * |
|
| 1018 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
| 1019 | * |
|
| 1020 | * @return static |
|
| 1021 | * |
|
| 1022 | * @see http://schema.org/potentialAction |
|
| 1023 | */ |
|
| 1024 | public function potentialAction($potentialAction) |
|
| 1025 | { |
|
| 1026 | return $this->setProperty('potentialAction', $potentialAction); |
|
| 1027 | } |
|
| 1028 | ||
| 1029 | /** |
|
| 1030 | * A flag to signal that the [[Place]] is open to public visitors. If this |
|
| 1031 | * property is omitted there is no assumed default boolean value |
|
| 1032 | * |
|
| 1033 | * @param bool|bool[] $publicAccess |
|
| 1034 | * |
|
| 1035 | * @return static |
|
| 1036 | * |
|
| 1037 | * @see http://schema.org/publicAccess |
|
| 1038 | */ |
|
| 1039 | public function publicAccess($publicAccess) |
|
| 1040 | { |
|
| 1041 | return $this->setProperty('publicAccess', $publicAccess); |
|
| 1042 | } |
|
| 1043 | ||
| 1044 | /** |
|
| 1045 | * The publishingPrinciples property indicates (typically via [[URL]]) a |
|
| 1046 | * document describing the editorial principles of an [[Organization]] (or |
|
| 1047 | * individual e.g. a [[Person]] writing a blog) that relate to their |
|
| 1048 | * activities as a publisher, e.g. ethics or diversity policies. When |
|
| 1049 | * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are |
|
| 1050 | * those of the party primarily responsible for the creation of the |
|
| 1051 | * [[CreativeWork]]. |
|
| 1052 | * |
|
| 1053 | * While such policies are most typically expressed in natural language, |
|
| 1054 | * sometimes related information (e.g. indicating a [[funder]]) can be |
|
| 1055 | * expressed using schema.org terminology. |
|
| 1056 | * |
|
| 1057 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples |
|
| 1058 | * |
|
| 1059 | * @return static |
|
| 1060 | * |
|
| 1061 | * @see http://schema.org/publishingPrinciples |
|
| 1062 | */ |
|
| 1063 | public function publishingPrinciples($publishingPrinciples) |
|
| 1064 | { |
|
| 1065 | return $this->setProperty('publishingPrinciples', $publishingPrinciples); |
|
| 1066 | } |
|
| 1067 | ||
| 1068 | /** |
|
| 1069 | * A review of the item. |
|
| 1070 | * |
|
| 1071 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review |
|
| 1072 | * |
|
| 1073 | * @return static |
|
| 1074 | * |
|
| 1075 | * @see http://schema.org/review |
|
| 1076 | */ |
|
| 1077 | public function review($review) |
|
| 1078 | { |
|
| 1079 | return $this->setProperty('review', $review); |
|
| 1080 | } |
|
| 1081 | ||
| 1082 | /** |
|
| 1083 | * Review of the item. |
|
| 1084 | * |
|
| 1085 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews |
|
| 1086 | * |
|
| 1087 | * @return static |
|
| 1088 | * |
|
| 1089 | * @see http://schema.org/reviews |
|
| 1090 | */ |
|
| 1091 | public function reviews($reviews) |
|
| 1092 | { |
|
| 1093 | return $this->setProperty('reviews', $reviews); |
|
| 1094 | } |
|
| 1095 | ||
| 1096 | /** |
|
| 1097 | * URL of a reference Web page that unambiguously indicates the item's |
|
| 1098 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
| 1099 | * official website. |
|
| 1100 | * |
|
| 1101 | * @param string|string[] $sameAs |
|
| 1102 | * |
|
| 1103 | * @return static |
|
| 1104 | * |
|
| 1105 | * @see http://schema.org/sameAs |
|
| 1106 | */ |
|
| 1107 | public function sameAs($sameAs) |
|
| 1108 | { |
|
| 1109 | return $this->setProperty('sameAs', $sameAs); |
|
| 1110 | } |
|
| 1111 | ||
| 1112 | /** |
|
| 1113 | * A pointer to products or services sought by the organization or person |
|
| 1114 | * (demand). |
|
| 1115 | * |
|
| 1116 | * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks |
|
| 1117 | * |
|
| 1118 | * @return static |
|
| 1119 | * |
|
| 1120 | * @see http://schema.org/seeks |
|
| 1121 | */ |
|
| 1122 | public function seeks($seeks) |
|
| 1123 | { |
|
| 1124 | return $this->setProperty('seeks', $seeks); |
|
| 1125 | } |
|
| 1126 | ||
| 1127 | /** |
|
| 1128 | * The geographic area where the service is provided. |
|
| 1129 | * |
|
| 1130 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea |
|
| 1131 | * |
|
| 1132 | * @return static |
|
| 1133 | * |
|
| 1134 | * @see http://schema.org/serviceArea |
|
| 1135 | */ |
|
| 1136 | public function serviceArea($serviceArea) |
|
| 1137 | { |
|
| 1138 | return $this->setProperty('serviceArea', $serviceArea); |
|
| 1139 | } |
|
| 1140 | ||
| 1141 | /** |
|
| 1142 | * A slogan or motto associated with the item. |
|
| 1143 | * |
|
| 1144 | * @param string|string[] $slogan |
|
| 1145 | * |
|
| 1146 | * @return static |
|
| 1147 | * |
|
| 1148 | * @see http://schema.org/slogan |
|
| 1149 | */ |
|
| 1150 | public function slogan($slogan) |
|
| 1151 | { |
|
| 1152 | return $this->setProperty('slogan', $slogan); |
|
| 1153 | } |
|
| 1154 | ||
| 1155 | /** |
|
| 1156 | * Indicates whether it is allowed to smoke in the place, e.g. in the |
|
| 1157 | * restaurant, hotel or hotel room. |
|
| 1158 | * |
|
| 1159 | * @param bool|bool[] $smokingAllowed |
|
| 1160 | * |
|
| 1161 | * @return static |
|
| 1162 | * |
|
| 1163 | * @see http://schema.org/smokingAllowed |
|
| 1164 | */ |
|
| 1165 | public function smokingAllowed($smokingAllowed) |
|
| 1166 | { |
|
| 1167 | return $this->setProperty('smokingAllowed', $smokingAllowed); |
|
| 1168 | } |
|
| 1169 | ||
| 1170 | /** |
|
| 1171 | * The special opening hours of a certain place. |
|
| 1172 | * |
|
| 1173 | * Use this to explicitly override general opening hours brought in scope by |
|
| 1174 | * [[openingHoursSpecification]] or [[openingHours]]. |
|
| 1175 | * |
|
| 1176 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification |
|
| 1177 | * |
|
| 1178 | * @return static |
|
| 1179 | * |
|
| 1180 | * @see http://schema.org/specialOpeningHoursSpecification |
|
| 1181 | */ |
|
| 1182 | public function specialOpeningHoursSpecification($specialOpeningHoursSpecification) |
|
| 1183 | { |
|
| 1184 | return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification); |
|
| 1185 | } |
|
| 1186 | ||
| 1187 | /** |
|
| 1188 | * A person or organization that supports a thing through a pledge, promise, |
|
| 1189 | * or financial contribution. e.g. a sponsor of a Medical Study or a |
|
| 1190 | * corporate sponsor of an event. |
|
| 1191 | * |
|
| 1192 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor |
|
| 1193 | * |
|
| 1194 | * @return static |
|
| 1195 | * |
|
| 1196 | * @see http://schema.org/sponsor |
|
| 1197 | */ |
|
| 1198 | public function sponsor($sponsor) |
|
| 1199 | { |
|
| 1200 | return $this->setProperty('sponsor', $sponsor); |
|
| 1201 | } |
|
| 1202 | ||
| 1203 | /** |
|
| 1204 | * A relationship between two organizations where the first includes the |
|
| 1205 | * second, e.g., as a subsidiary. See also: the more specific 'department' |
|
| 1206 | * property. |
|
| 1207 | * |
|
| 1208 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization |
|
| 1209 | * |
|
| 1210 | * @return static |
|
| 1211 | * |
|
| 1212 | * @see http://schema.org/subOrganization |
|
| 1213 | */ |
|
| 1214 | public function subOrganization($subOrganization) |
|
| 1215 | { |
|
| 1216 | return $this->setProperty('subOrganization', $subOrganization); |
|
| 1217 | } |
|
| 1218 | ||
| 1219 | /** |
|
| 1220 | * A CreativeWork or Event about this Thing. |
|
| 1221 | * |
|
| 1222 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
| 1223 | * |
|
| 1224 | * @return static |
|
| 1225 | * |
|
| 1226 | * @see http://schema.org/subjectOf |
|
| 1227 | */ |
|
| 1228 | public function subjectOf($subjectOf) |
|
| 1229 | { |
|
| 1230 | return $this->setProperty('subjectOf', $subjectOf); |
|
| 1231 | } |
|
| 1232 | ||
| 1233 | /** |
|
| 1234 | * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US |
|
| 1235 | * or the CIF/NIF in Spain. |
|
| 1236 | * |
|
| 1237 | * @param string|string[] $taxID |
|
| 1238 | * |
|
| 1239 | * @return static |
|
| 1240 | * |
|
| 1241 | * @see http://schema.org/taxID |
|
| 1242 | */ |
|
| 1243 | public function taxID($taxID) |
|
| 1244 | { |
|
| 1245 | return $this->setProperty('taxID', $taxID); |
|
| 1246 | } |
|
| 1247 | ||
| 1248 | /** |
|
| 1249 | * The telephone number. |
|
| 1250 | * |
|
| 1251 | * @param string|string[] $telephone |
|
| 1252 | * |
|
| 1253 | * @return static |
|
| 1254 | * |
|
| 1255 | * @see http://schema.org/telephone |
|
| 1256 | */ |
|
| 1257 | public function telephone($telephone) |
|
| 1258 | { |
|
| 1259 | return $this->setProperty('telephone', $telephone); |
|
| 1260 | } |
|
| 1261 | ||
| 1262 | /** |
|
| 1263 | * URL of the item. |
|
| 1264 | * |
|
| 1265 | * @param string|string[] $url |
|
| 1266 | * |
|
| 1267 | * @return static |
|
| 1268 | * |
|
| 1269 | * @see http://schema.org/url |
|
| 1270 | */ |
|
| 1271 | public function url($url) |
|
| 1272 | { |
|
| 1273 | return $this->setProperty('url', $url); |
|
| 1274 | } |
|
| 1275 | ||
| 1276 | /** |
|
| 1277 | * The Value-added Tax ID of the organization or person. |
|
| 1278 | * |
|
| 1279 | * @param string|string[] $vatID |
|
| 1280 | * |
|
| 1281 | * @return static |
|
| 1282 | * |
|
| 1283 | * @see http://schema.org/vatID |
|
| 1284 | */ |
|
| 1285 | public function vatID($vatID) |
|
| 1286 | { |
|
| 1287 | return $this->setProperty('vatID', $vatID); |
|
| 1288 | } |
|
| 1289 | ||
| 1290 | } |
|
| 1291 | ||
| @@ 19-1291 (lines=1273) @@ | ||
| 16 | * @see http://schema.org/MiddleSchool |
|
| 17 | * |
|
| 18 | */ |
|
| 19 | class MiddleSchool extends BaseType implements MiddleSchoolContract, CivicStructureContract, EducationalOrganizationContract, OrganizationContract, PlaceContract, ThingContract |
|
| 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 | * Alumni of an organization. |
|
| 107 | * |
|
| 108 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni |
|
| 109 | * |
|
| 110 | * @return static |
|
| 111 | * |
|
| 112 | * @see http://schema.org/alumni |
|
| 113 | */ |
|
| 114 | public function alumni($alumni) |
|
| 115 | { |
|
| 116 | return $this->setProperty('alumni', $alumni); |
|
| 117 | } |
|
| 118 | ||
| 119 | /** |
|
| 120 | * An amenity feature (e.g. a characteristic or service) of the |
|
| 121 | * Accommodation. This generic property does not make a statement about |
|
| 122 | * whether the feature is included in an offer for the main accommodation or |
|
| 123 | * available at extra costs. |
|
| 124 | * |
|
| 125 | * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature |
|
| 126 | * |
|
| 127 | * @return static |
|
| 128 | * |
|
| 129 | * @see http://schema.org/amenityFeature |
|
| 130 | */ |
|
| 131 | public function amenityFeature($amenityFeature) |
|
| 132 | { |
|
| 133 | return $this->setProperty('amenityFeature', $amenityFeature); |
|
| 134 | } |
|
| 135 | ||
| 136 | /** |
|
| 137 | * The geographic area where a service or offered item is provided. |
|
| 138 | * |
|
| 139 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed |
|
| 140 | * |
|
| 141 | * @return static |
|
| 142 | * |
|
| 143 | * @see http://schema.org/areaServed |
|
| 144 | */ |
|
| 145 | public function areaServed($areaServed) |
|
| 146 | { |
|
| 147 | return $this->setProperty('areaServed', $areaServed); |
|
| 148 | } |
|
| 149 | ||
| 150 | /** |
|
| 151 | * An award won by or for this item. |
|
| 152 | * |
|
| 153 | * @param string|string[] $award |
|
| 154 | * |
|
| 155 | * @return static |
|
| 156 | * |
|
| 157 | * @see http://schema.org/award |
|
| 158 | */ |
|
| 159 | public function award($award) |
|
| 160 | { |
|
| 161 | return $this->setProperty('award', $award); |
|
| 162 | } |
|
| 163 | ||
| 164 | /** |
|
| 165 | * Awards won by or for this item. |
|
| 166 | * |
|
| 167 | * @param string|string[] $awards |
|
| 168 | * |
|
| 169 | * @return static |
|
| 170 | * |
|
| 171 | * @see http://schema.org/awards |
|
| 172 | */ |
|
| 173 | public function awards($awards) |
|
| 174 | { |
|
| 175 | return $this->setProperty('awards', $awards); |
|
| 176 | } |
|
| 177 | ||
| 178 | /** |
|
| 179 | * A short textual code (also called "store code") that uniquely identifies |
|
| 180 | * a place of business. The code is typically assigned by the |
|
| 181 | * parentOrganization and used in structured URLs. |
|
| 182 | * |
|
| 183 | * For example, in the URL |
|
| 184 | * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" |
|
| 185 | * is a branchCode for a particular branch. |
|
| 186 | * |
|
| 187 | * @param string|string[] $branchCode |
|
| 188 | * |
|
| 189 | * @return static |
|
| 190 | * |
|
| 191 | * @see http://schema.org/branchCode |
|
| 192 | */ |
|
| 193 | public function branchCode($branchCode) |
|
| 194 | { |
|
| 195 | return $this->setProperty('branchCode', $branchCode); |
|
| 196 | } |
|
| 197 | ||
| 198 | /** |
|
| 199 | * The brand(s) associated with a product or service, or the brand(s) |
|
| 200 | * maintained by an organization or business person. |
|
| 201 | * |
|
| 202 | * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand |
|
| 203 | * |
|
| 204 | * @return static |
|
| 205 | * |
|
| 206 | * @see http://schema.org/brand |
|
| 207 | */ |
|
| 208 | public function brand($brand) |
|
| 209 | { |
|
| 210 | return $this->setProperty('brand', $brand); |
|
| 211 | } |
|
| 212 | ||
| 213 | /** |
|
| 214 | * A contact point for a person or organization. |
|
| 215 | * |
|
| 216 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint |
|
| 217 | * |
|
| 218 | * @return static |
|
| 219 | * |
|
| 220 | * @see http://schema.org/contactPoint |
|
| 221 | */ |
|
| 222 | public function contactPoint($contactPoint) |
|
| 223 | { |
|
| 224 | return $this->setProperty('contactPoint', $contactPoint); |
|
| 225 | } |
|
| 226 | ||
| 227 | /** |
|
| 228 | * A contact point for a person or organization. |
|
| 229 | * |
|
| 230 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints |
|
| 231 | * |
|
| 232 | * @return static |
|
| 233 | * |
|
| 234 | * @see http://schema.org/contactPoints |
|
| 235 | */ |
|
| 236 | public function contactPoints($contactPoints) |
|
| 237 | { |
|
| 238 | return $this->setProperty('contactPoints', $contactPoints); |
|
| 239 | } |
|
| 240 | ||
| 241 | /** |
|
| 242 | * The basic containment relation between a place and one that contains it. |
|
| 243 | * |
|
| 244 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn |
|
| 245 | * |
|
| 246 | * @return static |
|
| 247 | * |
|
| 248 | * @see http://schema.org/containedIn |
|
| 249 | */ |
|
| 250 | public function containedIn($containedIn) |
|
| 251 | { |
|
| 252 | return $this->setProperty('containedIn', $containedIn); |
|
| 253 | } |
|
| 254 | ||
| 255 | /** |
|
| 256 | * The basic containment relation between a place and one that contains it. |
|
| 257 | * |
|
| 258 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace |
|
| 259 | * |
|
| 260 | * @return static |
|
| 261 | * |
|
| 262 | * @see http://schema.org/containedInPlace |
|
| 263 | */ |
|
| 264 | public function containedInPlace($containedInPlace) |
|
| 265 | { |
|
| 266 | return $this->setProperty('containedInPlace', $containedInPlace); |
|
| 267 | } |
|
| 268 | ||
| 269 | /** |
|
| 270 | * The basic containment relation between a place and another that it |
|
| 271 | * contains. |
|
| 272 | * |
|
| 273 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace |
|
| 274 | * |
|
| 275 | * @return static |
|
| 276 | * |
|
| 277 | * @see http://schema.org/containsPlace |
|
| 278 | */ |
|
| 279 | public function containsPlace($containsPlace) |
|
| 280 | { |
|
| 281 | return $this->setProperty('containsPlace', $containsPlace); |
|
| 282 | } |
|
| 283 | ||
| 284 | /** |
|
| 285 | * A relationship between an organization and a department of that |
|
| 286 | * organization, also described as an organization (allowing different urls, |
|
| 287 | * logos, opening hours). For example: a store with a pharmacy, or a bakery |
|
| 288 | * with a cafe. |
|
| 289 | * |
|
| 290 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department |
|
| 291 | * |
|
| 292 | * @return static |
|
| 293 | * |
|
| 294 | * @see http://schema.org/department |
|
| 295 | */ |
|
| 296 | public function department($department) |
|
| 297 | { |
|
| 298 | return $this->setProperty('department', $department); |
|
| 299 | } |
|
| 300 | ||
| 301 | /** |
|
| 302 | * A description of the item. |
|
| 303 | * |
|
| 304 | * @param string|string[] $description |
|
| 305 | * |
|
| 306 | * @return static |
|
| 307 | * |
|
| 308 | * @see http://schema.org/description |
|
| 309 | */ |
|
| 310 | public function description($description) |
|
| 311 | { |
|
| 312 | return $this->setProperty('description', $description); |
|
| 313 | } |
|
| 314 | ||
| 315 | /** |
|
| 316 | * A sub property of description. A short description of the item used to |
|
| 317 | * disambiguate from other, similar items. Information from other properties |
|
| 318 | * (in particular, name) may be necessary for the description to be useful |
|
| 319 | * for disambiguation. |
|
| 320 | * |
|
| 321 | * @param string|string[] $disambiguatingDescription |
|
| 322 | * |
|
| 323 | * @return static |
|
| 324 | * |
|
| 325 | * @see http://schema.org/disambiguatingDescription |
|
| 326 | */ |
|
| 327 | public function disambiguatingDescription($disambiguatingDescription) |
|
| 328 | { |
|
| 329 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
| 330 | } |
|
| 331 | ||
| 332 | /** |
|
| 333 | * The date that this organization was dissolved. |
|
| 334 | * |
|
| 335 | * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate |
|
| 336 | * |
|
| 337 | * @return static |
|
| 338 | * |
|
| 339 | * @see http://schema.org/dissolutionDate |
|
| 340 | */ |
|
| 341 | public function dissolutionDate($dissolutionDate) |
|
| 342 | { |
|
| 343 | return $this->setProperty('dissolutionDate', $dissolutionDate); |
|
| 344 | } |
|
| 345 | ||
| 346 | /** |
|
| 347 | * The Dun & Bradstreet DUNS number for identifying an organization or |
|
| 348 | * business person. |
|
| 349 | * |
|
| 350 | * @param string|string[] $duns |
|
| 351 | * |
|
| 352 | * @return static |
|
| 353 | * |
|
| 354 | * @see http://schema.org/duns |
|
| 355 | */ |
|
| 356 | public function duns($duns) |
|
| 357 | { |
|
| 358 | return $this->setProperty('duns', $duns); |
|
| 359 | } |
|
| 360 | ||
| 361 | /** |
|
| 362 | * Email address. |
|
| 363 | * |
|
| 364 | * @param string|string[] $email |
|
| 365 | * |
|
| 366 | * @return static |
|
| 367 | * |
|
| 368 | * @see http://schema.org/email |
|
| 369 | */ |
|
| 370 | public function email($email) |
|
| 371 | { |
|
| 372 | return $this->setProperty('email', $email); |
|
| 373 | } |
|
| 374 | ||
| 375 | /** |
|
| 376 | * Someone working for this organization. |
|
| 377 | * |
|
| 378 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee |
|
| 379 | * |
|
| 380 | * @return static |
|
| 381 | * |
|
| 382 | * @see http://schema.org/employee |
|
| 383 | */ |
|
| 384 | public function employee($employee) |
|
| 385 | { |
|
| 386 | return $this->setProperty('employee', $employee); |
|
| 387 | } |
|
| 388 | ||
| 389 | /** |
|
| 390 | * People working for this organization. |
|
| 391 | * |
|
| 392 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees |
|
| 393 | * |
|
| 394 | * @return static |
|
| 395 | * |
|
| 396 | * @see http://schema.org/employees |
|
| 397 | */ |
|
| 398 | public function employees($employees) |
|
| 399 | { |
|
| 400 | return $this->setProperty('employees', $employees); |
|
| 401 | } |
|
| 402 | ||
| 403 | /** |
|
| 404 | * Upcoming or past event associated with this place, organization, or |
|
| 405 | * action. |
|
| 406 | * |
|
| 407 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event |
|
| 408 | * |
|
| 409 | * @return static |
|
| 410 | * |
|
| 411 | * @see http://schema.org/event |
|
| 412 | */ |
|
| 413 | public function event($event) |
|
| 414 | { |
|
| 415 | return $this->setProperty('event', $event); |
|
| 416 | } |
|
| 417 | ||
| 418 | /** |
|
| 419 | * Upcoming or past events associated with this place or organization. |
|
| 420 | * |
|
| 421 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events |
|
| 422 | * |
|
| 423 | * @return static |
|
| 424 | * |
|
| 425 | * @see http://schema.org/events |
|
| 426 | */ |
|
| 427 | public function events($events) |
|
| 428 | { |
|
| 429 | return $this->setProperty('events', $events); |
|
| 430 | } |
|
| 431 | ||
| 432 | /** |
|
| 433 | * The fax number. |
|
| 434 | * |
|
| 435 | * @param string|string[] $faxNumber |
|
| 436 | * |
|
| 437 | * @return static |
|
| 438 | * |
|
| 439 | * @see http://schema.org/faxNumber |
|
| 440 | */ |
|
| 441 | public function faxNumber($faxNumber) |
|
| 442 | { |
|
| 443 | return $this->setProperty('faxNumber', $faxNumber); |
|
| 444 | } |
|
| 445 | ||
| 446 | /** |
|
| 447 | * A person who founded this organization. |
|
| 448 | * |
|
| 449 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder |
|
| 450 | * |
|
| 451 | * @return static |
|
| 452 | * |
|
| 453 | * @see http://schema.org/founder |
|
| 454 | */ |
|
| 455 | public function founder($founder) |
|
| 456 | { |
|
| 457 | return $this->setProperty('founder', $founder); |
|
| 458 | } |
|
| 459 | ||
| 460 | /** |
|
| 461 | * A person who founded this organization. |
|
| 462 | * |
|
| 463 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders |
|
| 464 | * |
|
| 465 | * @return static |
|
| 466 | * |
|
| 467 | * @see http://schema.org/founders |
|
| 468 | */ |
|
| 469 | public function founders($founders) |
|
| 470 | { |
|
| 471 | return $this->setProperty('founders', $founders); |
|
| 472 | } |
|
| 473 | ||
| 474 | /** |
|
| 475 | * The date that this organization was founded. |
|
| 476 | * |
|
| 477 | * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate |
|
| 478 | * |
|
| 479 | * @return static |
|
| 480 | * |
|
| 481 | * @see http://schema.org/foundingDate |
|
| 482 | */ |
|
| 483 | public function foundingDate($foundingDate) |
|
| 484 | { |
|
| 485 | return $this->setProperty('foundingDate', $foundingDate); |
|
| 486 | } |
|
| 487 | ||
| 488 | /** |
|
| 489 | * The place where the Organization was founded. |
|
| 490 | * |
|
| 491 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation |
|
| 492 | * |
|
| 493 | * @return static |
|
| 494 | * |
|
| 495 | * @see http://schema.org/foundingLocation |
|
| 496 | */ |
|
| 497 | public function foundingLocation($foundingLocation) |
|
| 498 | { |
|
| 499 | return $this->setProperty('foundingLocation', $foundingLocation); |
|
| 500 | } |
|
| 501 | ||
| 502 | /** |
|
| 503 | * A person or organization that supports (sponsors) something through some |
|
| 504 | * kind of financial contribution. |
|
| 505 | * |
|
| 506 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder |
|
| 507 | * |
|
| 508 | * @return static |
|
| 509 | * |
|
| 510 | * @see http://schema.org/funder |
|
| 511 | */ |
|
| 512 | public function funder($funder) |
|
| 513 | { |
|
| 514 | return $this->setProperty('funder', $funder); |
|
| 515 | } |
|
| 516 | ||
| 517 | /** |
|
| 518 | * The geo coordinates of the place. |
|
| 519 | * |
|
| 520 | * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo |
|
| 521 | * |
|
| 522 | * @return static |
|
| 523 | * |
|
| 524 | * @see http://schema.org/geo |
|
| 525 | */ |
|
| 526 | public function geo($geo) |
|
| 527 | { |
|
| 528 | return $this->setProperty('geo', $geo); |
|
| 529 | } |
|
| 530 | ||
| 531 | /** |
|
| 532 | * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also |
|
| 533 | * referred to as International Location Number or ILN) of the respective |
|
| 534 | * organization, person, or place. The GLN is a 13-digit number used to |
|
| 535 | * identify parties and physical locations. |
|
| 536 | * |
|
| 537 | * @param string|string[] $globalLocationNumber |
|
| 538 | * |
|
| 539 | * @return static |
|
| 540 | * |
|
| 541 | * @see http://schema.org/globalLocationNumber |
|
| 542 | */ |
|
| 543 | public function globalLocationNumber($globalLocationNumber) |
|
| 544 | { |
|
| 545 | return $this->setProperty('globalLocationNumber', $globalLocationNumber); |
|
| 546 | } |
|
| 547 | ||
| 548 | /** |
|
| 549 | * A URL to a map of the place. |
|
| 550 | * |
|
| 551 | * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap |
|
| 552 | * |
|
| 553 | * @return static |
|
| 554 | * |
|
| 555 | * @see http://schema.org/hasMap |
|
| 556 | */ |
|
| 557 | public function hasMap($hasMap) |
|
| 558 | { |
|
| 559 | return $this->setProperty('hasMap', $hasMap); |
|
| 560 | } |
|
| 561 | ||
| 562 | /** |
|
| 563 | * Indicates an OfferCatalog listing for this Organization, Person, or |
|
| 564 | * Service. |
|
| 565 | * |
|
| 566 | * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog |
|
| 567 | * |
|
| 568 | * @return static |
|
| 569 | * |
|
| 570 | * @see http://schema.org/hasOfferCatalog |
|
| 571 | */ |
|
| 572 | public function hasOfferCatalog($hasOfferCatalog) |
|
| 573 | { |
|
| 574 | return $this->setProperty('hasOfferCatalog', $hasOfferCatalog); |
|
| 575 | } |
|
| 576 | ||
| 577 | /** |
|
| 578 | * Points-of-Sales operated by the organization or person. |
|
| 579 | * |
|
| 580 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS |
|
| 581 | * |
|
| 582 | * @return static |
|
| 583 | * |
|
| 584 | * @see http://schema.org/hasPOS |
|
| 585 | */ |
|
| 586 | public function hasPOS($hasPOS) |
|
| 587 | { |
|
| 588 | return $this->setProperty('hasPOS', $hasPOS); |
|
| 589 | } |
|
| 590 | ||
| 591 | /** |
|
| 592 | * The identifier property represents any kind of identifier for any kind of |
|
| 593 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
| 594 | * dedicated properties for representing many of these, either as textual |
|
| 595 | * strings or as URL (URI) links. See [background |
|
| 596 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
| 597 | * |
|
| 598 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
| 599 | * |
|
| 600 | * @return static |
|
| 601 | * |
|
| 602 | * @see http://schema.org/identifier |
|
| 603 | */ |
|
| 604 | public function identifier($identifier) |
|
| 605 | { |
|
| 606 | return $this->setProperty('identifier', $identifier); |
|
| 607 | } |
|
| 608 | ||
| 609 | /** |
|
| 610 | * An image of the item. This can be a [[URL]] or a fully described |
|
| 611 | * [[ImageObject]]. |
|
| 612 | * |
|
| 613 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
| 614 | * |
|
| 615 | * @return static |
|
| 616 | * |
|
| 617 | * @see http://schema.org/image |
|
| 618 | */ |
|
| 619 | public function image($image) |
|
| 620 | { |
|
| 621 | return $this->setProperty('image', $image); |
|
| 622 | } |
|
| 623 | ||
| 624 | /** |
|
| 625 | * A flag to signal that the item, event, or place is accessible for free. |
|
| 626 | * |
|
| 627 | * @param bool|bool[] $isAccessibleForFree |
|
| 628 | * |
|
| 629 | * @return static |
|
| 630 | * |
|
| 631 | * @see http://schema.org/isAccessibleForFree |
|
| 632 | */ |
|
| 633 | public function isAccessibleForFree($isAccessibleForFree) |
|
| 634 | { |
|
| 635 | return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); |
|
| 636 | } |
|
| 637 | ||
| 638 | /** |
|
| 639 | * The International Standard of Industrial Classification of All Economic |
|
| 640 | * Activities (ISIC), Revision 4 code for a particular organization, |
|
| 641 | * business person, or place. |
|
| 642 | * |
|
| 643 | * @param string|string[] $isicV4 |
|
| 644 | * |
|
| 645 | * @return static |
|
| 646 | * |
|
| 647 | * @see http://schema.org/isicV4 |
|
| 648 | */ |
|
| 649 | public function isicV4($isicV4) |
|
| 650 | { |
|
| 651 | return $this->setProperty('isicV4', $isicV4); |
|
| 652 | } |
|
| 653 | ||
| 654 | /** |
|
| 655 | * The latitude of a location. For example ```37.42242``` ([WGS |
|
| 656 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 657 | * |
|
| 658 | * @param float|float[]|int|int[]|string|string[] $latitude |
|
| 659 | * |
|
| 660 | * @return static |
|
| 661 | * |
|
| 662 | * @see http://schema.org/latitude |
|
| 663 | */ |
|
| 664 | public function latitude($latitude) |
|
| 665 | { |
|
| 666 | return $this->setProperty('latitude', $latitude); |
|
| 667 | } |
|
| 668 | ||
| 669 | /** |
|
| 670 | * The official name of the organization, e.g. the registered company name. |
|
| 671 | * |
|
| 672 | * @param string|string[] $legalName |
|
| 673 | * |
|
| 674 | * @return static |
|
| 675 | * |
|
| 676 | * @see http://schema.org/legalName |
|
| 677 | */ |
|
| 678 | public function legalName($legalName) |
|
| 679 | { |
|
| 680 | return $this->setProperty('legalName', $legalName); |
|
| 681 | } |
|
| 682 | ||
| 683 | /** |
|
| 684 | * An organization identifier that uniquely identifies a legal entity as |
|
| 685 | * defined in ISO 17442. |
|
| 686 | * |
|
| 687 | * @param string|string[] $leiCode |
|
| 688 | * |
|
| 689 | * @return static |
|
| 690 | * |
|
| 691 | * @see http://schema.org/leiCode |
|
| 692 | */ |
|
| 693 | public function leiCode($leiCode) |
|
| 694 | { |
|
| 695 | return $this->setProperty('leiCode', $leiCode); |
|
| 696 | } |
|
| 697 | ||
| 698 | /** |
|
| 699 | * The location of for example where the event is happening, an organization |
|
| 700 | * is located, or where an action takes place. |
|
| 701 | * |
|
| 702 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location |
|
| 703 | * |
|
| 704 | * @return static |
|
| 705 | * |
|
| 706 | * @see http://schema.org/location |
|
| 707 | */ |
|
| 708 | public function location($location) |
|
| 709 | { |
|
| 710 | return $this->setProperty('location', $location); |
|
| 711 | } |
|
| 712 | ||
| 713 | /** |
|
| 714 | * An associated logo. |
|
| 715 | * |
|
| 716 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo |
|
| 717 | * |
|
| 718 | * @return static |
|
| 719 | * |
|
| 720 | * @see http://schema.org/logo |
|
| 721 | */ |
|
| 722 | public function logo($logo) |
|
| 723 | { |
|
| 724 | return $this->setProperty('logo', $logo); |
|
| 725 | } |
|
| 726 | ||
| 727 | /** |
|
| 728 | * The longitude of a location. For example ```-122.08585``` ([WGS |
|
| 729 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 730 | * |
|
| 731 | * @param float|float[]|int|int[]|string|string[] $longitude |
|
| 732 | * |
|
| 733 | * @return static |
|
| 734 | * |
|
| 735 | * @see http://schema.org/longitude |
|
| 736 | */ |
|
| 737 | public function longitude($longitude) |
|
| 738 | { |
|
| 739 | return $this->setProperty('longitude', $longitude); |
|
| 740 | } |
|
| 741 | ||
| 742 | /** |
|
| 743 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
| 744 | * entity being described. See [background |
|
| 745 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
| 746 | * |
|
| 747 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
| 748 | * |
|
| 749 | * @return static |
|
| 750 | * |
|
| 751 | * @see http://schema.org/mainEntityOfPage |
|
| 752 | */ |
|
| 753 | public function mainEntityOfPage($mainEntityOfPage) |
|
| 754 | { |
|
| 755 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
| 756 | } |
|
| 757 | ||
| 758 | /** |
|
| 759 | * A pointer to products or services offered by the organization or person. |
|
| 760 | * |
|
| 761 | * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer |
|
| 762 | * |
|
| 763 | * @return static |
|
| 764 | * |
|
| 765 | * @see http://schema.org/makesOffer |
|
| 766 | */ |
|
| 767 | public function makesOffer($makesOffer) |
|
| 768 | { |
|
| 769 | return $this->setProperty('makesOffer', $makesOffer); |
|
| 770 | } |
|
| 771 | ||
| 772 | /** |
|
| 773 | * A URL to a map of the place. |
|
| 774 | * |
|
| 775 | * @param string|string[] $map |
|
| 776 | * |
|
| 777 | * @return static |
|
| 778 | * |
|
| 779 | * @see http://schema.org/map |
|
| 780 | */ |
|
| 781 | public function map($map) |
|
| 782 | { |
|
| 783 | return $this->setProperty('map', $map); |
|
| 784 | } |
|
| 785 | ||
| 786 | /** |
|
| 787 | * A URL to a map of the place. |
|
| 788 | * |
|
| 789 | * @param string|string[] $maps |
|
| 790 | * |
|
| 791 | * @return static |
|
| 792 | * |
|
| 793 | * @see http://schema.org/maps |
|
| 794 | */ |
|
| 795 | public function maps($maps) |
|
| 796 | { |
|
| 797 | return $this->setProperty('maps', $maps); |
|
| 798 | } |
|
| 799 | ||
| 800 | /** |
|
| 801 | * The total number of individuals that may attend an event or venue. |
|
| 802 | * |
|
| 803 | * @param int|int[] $maximumAttendeeCapacity |
|
| 804 | * |
|
| 805 | * @return static |
|
| 806 | * |
|
| 807 | * @see http://schema.org/maximumAttendeeCapacity |
|
| 808 | */ |
|
| 809 | public function maximumAttendeeCapacity($maximumAttendeeCapacity) |
|
| 810 | { |
|
| 811 | return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity); |
|
| 812 | } |
|
| 813 | ||
| 814 | /** |
|
| 815 | * A member of an Organization or a ProgramMembership. Organizations can be |
|
| 816 | * members of organizations; ProgramMembership is typically for individuals. |
|
| 817 | * |
|
| 818 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member |
|
| 819 | * |
|
| 820 | * @return static |
|
| 821 | * |
|
| 822 | * @see http://schema.org/member |
|
| 823 | */ |
|
| 824 | public function member($member) |
|
| 825 | { |
|
| 826 | return $this->setProperty('member', $member); |
|
| 827 | } |
|
| 828 | ||
| 829 | /** |
|
| 830 | * An Organization (or ProgramMembership) to which this Person or |
|
| 831 | * Organization belongs. |
|
| 832 | * |
|
| 833 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf |
|
| 834 | * |
|
| 835 | * @return static |
|
| 836 | * |
|
| 837 | * @see http://schema.org/memberOf |
|
| 838 | */ |
|
| 839 | public function memberOf($memberOf) |
|
| 840 | { |
|
| 841 | return $this->setProperty('memberOf', $memberOf); |
|
| 842 | } |
|
| 843 | ||
| 844 | /** |
|
| 845 | * A member of this organization. |
|
| 846 | * |
|
| 847 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members |
|
| 848 | * |
|
| 849 | * @return static |
|
| 850 | * |
|
| 851 | * @see http://schema.org/members |
|
| 852 | */ |
|
| 853 | public function members($members) |
|
| 854 | { |
|
| 855 | return $this->setProperty('members', $members); |
|
| 856 | } |
|
| 857 | ||
| 858 | /** |
|
| 859 | * The North American Industry Classification System (NAICS) code for a |
|
| 860 | * particular organization or business person. |
|
| 861 | * |
|
| 862 | * @param string|string[] $naics |
|
| 863 | * |
|
| 864 | * @return static |
|
| 865 | * |
|
| 866 | * @see http://schema.org/naics |
|
| 867 | */ |
|
| 868 | public function naics($naics) |
|
| 869 | { |
|
| 870 | return $this->setProperty('naics', $naics); |
|
| 871 | } |
|
| 872 | ||
| 873 | /** |
|
| 874 | * The name of the item. |
|
| 875 | * |
|
| 876 | * @param string|string[] $name |
|
| 877 | * |
|
| 878 | * @return static |
|
| 879 | * |
|
| 880 | * @see http://schema.org/name |
|
| 881 | */ |
|
| 882 | public function name($name) |
|
| 883 | { |
|
| 884 | return $this->setProperty('name', $name); |
|
| 885 | } |
|
| 886 | ||
| 887 | /** |
|
| 888 | * The number of employees in an organization e.g. business. |
|
| 889 | * |
|
| 890 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees |
|
| 891 | * |
|
| 892 | * @return static |
|
| 893 | * |
|
| 894 | * @see http://schema.org/numberOfEmployees |
|
| 895 | */ |
|
| 896 | public function numberOfEmployees($numberOfEmployees) |
|
| 897 | { |
|
| 898 | return $this->setProperty('numberOfEmployees', $numberOfEmployees); |
|
| 899 | } |
|
| 900 | ||
| 901 | /** |
|
| 902 | * A pointer to the organization or person making the offer. |
|
| 903 | * |
|
| 904 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy |
|
| 905 | * |
|
| 906 | * @return static |
|
| 907 | * |
|
| 908 | * @see http://schema.org/offeredBy |
|
| 909 | */ |
|
| 910 | public function offeredBy($offeredBy) |
|
| 911 | { |
|
| 912 | return $this->setProperty('offeredBy', $offeredBy); |
|
| 913 | } |
|
| 914 | ||
| 915 | /** |
|
| 916 | * The general opening hours for a business. Opening hours can be specified |
|
| 917 | * as a weekly time range, starting with days, then times per day. Multiple |
|
| 918 | * days can be listed with commas ',' separating each day. Day or time |
|
| 919 | * ranges are specified using a hyphen '-'. |
|
| 920 | * |
|
| 921 | * * Days are specified using the following two-letter combinations: |
|
| 922 | * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. |
|
| 923 | * * Times are specified using 24:00 time. For example, 3pm is specified as |
|
| 924 | * ```15:00```. |
|
| 925 | * * Here is an example: <code><time itemprop="openingHours" |
|
| 926 | * datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays |
|
| 927 | * 4-8pm</time></code>. |
|
| 928 | * * If a business is open 7 days a week, then it can be specified as |
|
| 929 | * <code><time itemprop="openingHours" |
|
| 930 | * datetime="Mo-Su">Monday through Sunday, all |
|
| 931 | * day</time></code>. |
|
| 932 | * |
|
| 933 | * @param string|string[] $openingHours |
|
| 934 | * |
|
| 935 | * @return static |
|
| 936 | * |
|
| 937 | * @see http://schema.org/openingHours |
|
| 938 | */ |
|
| 939 | public function openingHours($openingHours) |
|
| 940 | { |
|
| 941 | return $this->setProperty('openingHours', $openingHours); |
|
| 942 | } |
|
| 943 | ||
| 944 | /** |
|
| 945 | * The opening hours of a certain place. |
|
| 946 | * |
|
| 947 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification |
|
| 948 | * |
|
| 949 | * @return static |
|
| 950 | * |
|
| 951 | * @see http://schema.org/openingHoursSpecification |
|
| 952 | */ |
|
| 953 | public function openingHoursSpecification($openingHoursSpecification) |
|
| 954 | { |
|
| 955 | return $this->setProperty('openingHoursSpecification', $openingHoursSpecification); |
|
| 956 | } |
|
| 957 | ||
| 958 | /** |
|
| 959 | * Products owned by the organization or person. |
|
| 960 | * |
|
| 961 | * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns |
|
| 962 | * |
|
| 963 | * @return static |
|
| 964 | * |
|
| 965 | * @see http://schema.org/owns |
|
| 966 | */ |
|
| 967 | public function owns($owns) |
|
| 968 | { |
|
| 969 | return $this->setProperty('owns', $owns); |
|
| 970 | } |
|
| 971 | ||
| 972 | /** |
|
| 973 | * The larger organization that this organization is a [[subOrganization]] |
|
| 974 | * of, if any. |
|
| 975 | * |
|
| 976 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization |
|
| 977 | * |
|
| 978 | * @return static |
|
| 979 | * |
|
| 980 | * @see http://schema.org/parentOrganization |
|
| 981 | */ |
|
| 982 | public function parentOrganization($parentOrganization) |
|
| 983 | { |
|
| 984 | return $this->setProperty('parentOrganization', $parentOrganization); |
|
| 985 | } |
|
| 986 | ||
| 987 | /** |
|
| 988 | * A photograph of this place. |
|
| 989 | * |
|
| 990 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo |
|
| 991 | * |
|
| 992 | * @return static |
|
| 993 | * |
|
| 994 | * @see http://schema.org/photo |
|
| 995 | */ |
|
| 996 | public function photo($photo) |
|
| 997 | { |
|
| 998 | return $this->setProperty('photo', $photo); |
|
| 999 | } |
|
| 1000 | ||
| 1001 | /** |
|
| 1002 | * Photographs of this place. |
|
| 1003 | * |
|
| 1004 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos |
|
| 1005 | * |
|
| 1006 | * @return static |
|
| 1007 | * |
|
| 1008 | * @see http://schema.org/photos |
|
| 1009 | */ |
|
| 1010 | public function photos($photos) |
|
| 1011 | { |
|
| 1012 | return $this->setProperty('photos', $photos); |
|
| 1013 | } |
|
| 1014 | ||
| 1015 | /** |
|
| 1016 | * Indicates a potential Action, which describes an idealized action in |
|
| 1017 | * which this thing would play an 'object' role. |
|
| 1018 | * |
|
| 1019 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
| 1020 | * |
|
| 1021 | * @return static |
|
| 1022 | * |
|
| 1023 | * @see http://schema.org/potentialAction |
|
| 1024 | */ |
|
| 1025 | public function potentialAction($potentialAction) |
|
| 1026 | { |
|
| 1027 | return $this->setProperty('potentialAction', $potentialAction); |
|
| 1028 | } |
|
| 1029 | ||
| 1030 | /** |
|
| 1031 | * A flag to signal that the [[Place]] is open to public visitors. If this |
|
| 1032 | * property is omitted there is no assumed default boolean value |
|
| 1033 | * |
|
| 1034 | * @param bool|bool[] $publicAccess |
|
| 1035 | * |
|
| 1036 | * @return static |
|
| 1037 | * |
|
| 1038 | * @see http://schema.org/publicAccess |
|
| 1039 | */ |
|
| 1040 | public function publicAccess($publicAccess) |
|
| 1041 | { |
|
| 1042 | return $this->setProperty('publicAccess', $publicAccess); |
|
| 1043 | } |
|
| 1044 | ||
| 1045 | /** |
|
| 1046 | * The publishingPrinciples property indicates (typically via [[URL]]) a |
|
| 1047 | * document describing the editorial principles of an [[Organization]] (or |
|
| 1048 | * individual e.g. a [[Person]] writing a blog) that relate to their |
|
| 1049 | * activities as a publisher, e.g. ethics or diversity policies. When |
|
| 1050 | * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are |
|
| 1051 | * those of the party primarily responsible for the creation of the |
|
| 1052 | * [[CreativeWork]]. |
|
| 1053 | * |
|
| 1054 | * While such policies are most typically expressed in natural language, |
|
| 1055 | * sometimes related information (e.g. indicating a [[funder]]) can be |
|
| 1056 | * expressed using schema.org terminology. |
|
| 1057 | * |
|
| 1058 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples |
|
| 1059 | * |
|
| 1060 | * @return static |
|
| 1061 | * |
|
| 1062 | * @see http://schema.org/publishingPrinciples |
|
| 1063 | */ |
|
| 1064 | public function publishingPrinciples($publishingPrinciples) |
|
| 1065 | { |
|
| 1066 | return $this->setProperty('publishingPrinciples', $publishingPrinciples); |
|
| 1067 | } |
|
| 1068 | ||
| 1069 | /** |
|
| 1070 | * A review of the item. |
|
| 1071 | * |
|
| 1072 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review |
|
| 1073 | * |
|
| 1074 | * @return static |
|
| 1075 | * |
|
| 1076 | * @see http://schema.org/review |
|
| 1077 | */ |
|
| 1078 | public function review($review) |
|
| 1079 | { |
|
| 1080 | return $this->setProperty('review', $review); |
|
| 1081 | } |
|
| 1082 | ||
| 1083 | /** |
|
| 1084 | * Review of the item. |
|
| 1085 | * |
|
| 1086 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews |
|
| 1087 | * |
|
| 1088 | * @return static |
|
| 1089 | * |
|
| 1090 | * @see http://schema.org/reviews |
|
| 1091 | */ |
|
| 1092 | public function reviews($reviews) |
|
| 1093 | { |
|
| 1094 | return $this->setProperty('reviews', $reviews); |
|
| 1095 | } |
|
| 1096 | ||
| 1097 | /** |
|
| 1098 | * URL of a reference Web page that unambiguously indicates the item's |
|
| 1099 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
| 1100 | * official website. |
|
| 1101 | * |
|
| 1102 | * @param string|string[] $sameAs |
|
| 1103 | * |
|
| 1104 | * @return static |
|
| 1105 | * |
|
| 1106 | * @see http://schema.org/sameAs |
|
| 1107 | */ |
|
| 1108 | public function sameAs($sameAs) |
|
| 1109 | { |
|
| 1110 | return $this->setProperty('sameAs', $sameAs); |
|
| 1111 | } |
|
| 1112 | ||
| 1113 | /** |
|
| 1114 | * A pointer to products or services sought by the organization or person |
|
| 1115 | * (demand). |
|
| 1116 | * |
|
| 1117 | * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks |
|
| 1118 | * |
|
| 1119 | * @return static |
|
| 1120 | * |
|
| 1121 | * @see http://schema.org/seeks |
|
| 1122 | */ |
|
| 1123 | public function seeks($seeks) |
|
| 1124 | { |
|
| 1125 | return $this->setProperty('seeks', $seeks); |
|
| 1126 | } |
|
| 1127 | ||
| 1128 | /** |
|
| 1129 | * The geographic area where the service is provided. |
|
| 1130 | * |
|
| 1131 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea |
|
| 1132 | * |
|
| 1133 | * @return static |
|
| 1134 | * |
|
| 1135 | * @see http://schema.org/serviceArea |
|
| 1136 | */ |
|
| 1137 | public function serviceArea($serviceArea) |
|
| 1138 | { |
|
| 1139 | return $this->setProperty('serviceArea', $serviceArea); |
|
| 1140 | } |
|
| 1141 | ||
| 1142 | /** |
|
| 1143 | * A slogan or motto associated with the item. |
|
| 1144 | * |
|
| 1145 | * @param string|string[] $slogan |
|
| 1146 | * |
|
| 1147 | * @return static |
|
| 1148 | * |
|
| 1149 | * @see http://schema.org/slogan |
|
| 1150 | */ |
|
| 1151 | public function slogan($slogan) |
|
| 1152 | { |
|
| 1153 | return $this->setProperty('slogan', $slogan); |
|
| 1154 | } |
|
| 1155 | ||
| 1156 | /** |
|
| 1157 | * Indicates whether it is allowed to smoke in the place, e.g. in the |
|
| 1158 | * restaurant, hotel or hotel room. |
|
| 1159 | * |
|
| 1160 | * @param bool|bool[] $smokingAllowed |
|
| 1161 | * |
|
| 1162 | * @return static |
|
| 1163 | * |
|
| 1164 | * @see http://schema.org/smokingAllowed |
|
| 1165 | */ |
|
| 1166 | public function smokingAllowed($smokingAllowed) |
|
| 1167 | { |
|
| 1168 | return $this->setProperty('smokingAllowed', $smokingAllowed); |
|
| 1169 | } |
|
| 1170 | ||
| 1171 | /** |
|
| 1172 | * The special opening hours of a certain place. |
|
| 1173 | * |
|
| 1174 | * Use this to explicitly override general opening hours brought in scope by |
|
| 1175 | * [[openingHoursSpecification]] or [[openingHours]]. |
|
| 1176 | * |
|
| 1177 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification |
|
| 1178 | * |
|
| 1179 | * @return static |
|
| 1180 | * |
|
| 1181 | * @see http://schema.org/specialOpeningHoursSpecification |
|
| 1182 | */ |
|
| 1183 | public function specialOpeningHoursSpecification($specialOpeningHoursSpecification) |
|
| 1184 | { |
|
| 1185 | return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification); |
|
| 1186 | } |
|
| 1187 | ||
| 1188 | /** |
|
| 1189 | * A person or organization that supports a thing through a pledge, promise, |
|
| 1190 | * or financial contribution. e.g. a sponsor of a Medical Study or a |
|
| 1191 | * corporate sponsor of an event. |
|
| 1192 | * |
|
| 1193 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor |
|
| 1194 | * |
|
| 1195 | * @return static |
|
| 1196 | * |
|
| 1197 | * @see http://schema.org/sponsor |
|
| 1198 | */ |
|
| 1199 | public function sponsor($sponsor) |
|
| 1200 | { |
|
| 1201 | return $this->setProperty('sponsor', $sponsor); |
|
| 1202 | } |
|
| 1203 | ||
| 1204 | /** |
|
| 1205 | * A relationship between two organizations where the first includes the |
|
| 1206 | * second, e.g., as a subsidiary. See also: the more specific 'department' |
|
| 1207 | * property. |
|
| 1208 | * |
|
| 1209 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization |
|
| 1210 | * |
|
| 1211 | * @return static |
|
| 1212 | * |
|
| 1213 | * @see http://schema.org/subOrganization |
|
| 1214 | */ |
|
| 1215 | public function subOrganization($subOrganization) |
|
| 1216 | { |
|
| 1217 | return $this->setProperty('subOrganization', $subOrganization); |
|
| 1218 | } |
|
| 1219 | ||
| 1220 | /** |
|
| 1221 | * A CreativeWork or Event about this Thing. |
|
| 1222 | * |
|
| 1223 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
| 1224 | * |
|
| 1225 | * @return static |
|
| 1226 | * |
|
| 1227 | * @see http://schema.org/subjectOf |
|
| 1228 | */ |
|
| 1229 | public function subjectOf($subjectOf) |
|
| 1230 | { |
|
| 1231 | return $this->setProperty('subjectOf', $subjectOf); |
|
| 1232 | } |
|
| 1233 | ||
| 1234 | /** |
|
| 1235 | * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US |
|
| 1236 | * or the CIF/NIF in Spain. |
|
| 1237 | * |
|
| 1238 | * @param string|string[] $taxID |
|
| 1239 | * |
|
| 1240 | * @return static |
|
| 1241 | * |
|
| 1242 | * @see http://schema.org/taxID |
|
| 1243 | */ |
|
| 1244 | public function taxID($taxID) |
|
| 1245 | { |
|
| 1246 | return $this->setProperty('taxID', $taxID); |
|
| 1247 | } |
|
| 1248 | ||
| 1249 | /** |
|
| 1250 | * The telephone number. |
|
| 1251 | * |
|
| 1252 | * @param string|string[] $telephone |
|
| 1253 | * |
|
| 1254 | * @return static |
|
| 1255 | * |
|
| 1256 | * @see http://schema.org/telephone |
|
| 1257 | */ |
|
| 1258 | public function telephone($telephone) |
|
| 1259 | { |
|
| 1260 | return $this->setProperty('telephone', $telephone); |
|
| 1261 | } |
|
| 1262 | ||
| 1263 | /** |
|
| 1264 | * URL of the item. |
|
| 1265 | * |
|
| 1266 | * @param string|string[] $url |
|
| 1267 | * |
|
| 1268 | * @return static |
|
| 1269 | * |
|
| 1270 | * @see http://schema.org/url |
|
| 1271 | */ |
|
| 1272 | public function url($url) |
|
| 1273 | { |
|
| 1274 | return $this->setProperty('url', $url); |
|
| 1275 | } |
|
| 1276 | ||
| 1277 | /** |
|
| 1278 | * The Value-added Tax ID of the organization or person. |
|
| 1279 | * |
|
| 1280 | * @param string|string[] $vatID |
|
| 1281 | * |
|
| 1282 | * @return static |
|
| 1283 | * |
|
| 1284 | * @see http://schema.org/vatID |
|
| 1285 | */ |
|
| 1286 | public function vatID($vatID) |
|
| 1287 | { |
|
| 1288 | return $this->setProperty('vatID', $vatID); |
|
| 1289 | } |
|
| 1290 | ||
| 1291 | } |
|
| 1292 | ||
| @@ 18-1290 (lines=1273) @@ | ||
| 15 | * @see http://schema.org/Preschool |
|
| 16 | * |
|
| 17 | */ |
|
| 18 | class Preschool extends BaseType implements PreschoolContract, CivicStructureContract, EducationalOrganizationContract, OrganizationContract, PlaceContract, ThingContract |
|
| 19 | { |
|
| 20 | /** |
|
| 21 | * A property-value pair representing an additional characteristics of the |
|
| 22 | * entitity, e.g. a product feature or another characteristic for which |
|
| 23 | * there is no matching property in schema.org. |
|
| 24 | * |
|
| 25 | * Note: Publishers should be aware that applications designed to use |
|
| 26 | * specific schema.org properties (e.g. http://schema.org/width, |
|
| 27 | * http://schema.org/color, http://schema.org/gtin13, ...) will typically |
|
| 28 | * expect such data to be provided using those properties, rather than using |
|
| 29 | * the generic property/value mechanism. |
|
| 30 | * |
|
| 31 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty |
|
| 32 | * |
|
| 33 | * @return static |
|
| 34 | * |
|
| 35 | * @see http://schema.org/additionalProperty |
|
| 36 | */ |
|
| 37 | public function additionalProperty($additionalProperty) |
|
| 38 | { |
|
| 39 | return $this->setProperty('additionalProperty', $additionalProperty); |
|
| 40 | } |
|
| 41 | ||
| 42 | /** |
|
| 43 | * An additional type for the item, typically used for adding more specific |
|
| 44 | * types from external vocabularies in microdata syntax. This is a |
|
| 45 | * relationship between something and a class that the thing is in. In RDFa |
|
| 46 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
| 47 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
| 48 | * understanding of extra types, in particular those defined externally. |
|
| 49 | * |
|
| 50 | * @param string|string[] $additionalType |
|
| 51 | * |
|
| 52 | * @return static |
|
| 53 | * |
|
| 54 | * @see http://schema.org/additionalType |
|
| 55 | */ |
|
| 56 | public function additionalType($additionalType) |
|
| 57 | { |
|
| 58 | return $this->setProperty('additionalType', $additionalType); |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * Physical address of the item. |
|
| 63 | * |
|
| 64 | * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address |
|
| 65 | * |
|
| 66 | * @return static |
|
| 67 | * |
|
| 68 | * @see http://schema.org/address |
|
| 69 | */ |
|
| 70 | public function address($address) |
|
| 71 | { |
|
| 72 | return $this->setProperty('address', $address); |
|
| 73 | } |
|
| 74 | ||
| 75 | /** |
|
| 76 | * The overall rating, based on a collection of reviews or ratings, of the |
|
| 77 | * item. |
|
| 78 | * |
|
| 79 | * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating |
|
| 80 | * |
|
| 81 | * @return static |
|
| 82 | * |
|
| 83 | * @see http://schema.org/aggregateRating |
|
| 84 | */ |
|
| 85 | public function aggregateRating($aggregateRating) |
|
| 86 | { |
|
| 87 | return $this->setProperty('aggregateRating', $aggregateRating); |
|
| 88 | } |
|
| 89 | ||
| 90 | /** |
|
| 91 | * An alias for the item. |
|
| 92 | * |
|
| 93 | * @param string|string[] $alternateName |
|
| 94 | * |
|
| 95 | * @return static |
|
| 96 | * |
|
| 97 | * @see http://schema.org/alternateName |
|
| 98 | */ |
|
| 99 | public function alternateName($alternateName) |
|
| 100 | { |
|
| 101 | return $this->setProperty('alternateName', $alternateName); |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * Alumni of an organization. |
|
| 106 | * |
|
| 107 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni |
|
| 108 | * |
|
| 109 | * @return static |
|
| 110 | * |
|
| 111 | * @see http://schema.org/alumni |
|
| 112 | */ |
|
| 113 | public function alumni($alumni) |
|
| 114 | { |
|
| 115 | return $this->setProperty('alumni', $alumni); |
|
| 116 | } |
|
| 117 | ||
| 118 | /** |
|
| 119 | * An amenity feature (e.g. a characteristic or service) of the |
|
| 120 | * Accommodation. This generic property does not make a statement about |
|
| 121 | * whether the feature is included in an offer for the main accommodation or |
|
| 122 | * available at extra costs. |
|
| 123 | * |
|
| 124 | * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature |
|
| 125 | * |
|
| 126 | * @return static |
|
| 127 | * |
|
| 128 | * @see http://schema.org/amenityFeature |
|
| 129 | */ |
|
| 130 | public function amenityFeature($amenityFeature) |
|
| 131 | { |
|
| 132 | return $this->setProperty('amenityFeature', $amenityFeature); |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * The geographic area where a service or offered item is provided. |
|
| 137 | * |
|
| 138 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed |
|
| 139 | * |
|
| 140 | * @return static |
|
| 141 | * |
|
| 142 | * @see http://schema.org/areaServed |
|
| 143 | */ |
|
| 144 | public function areaServed($areaServed) |
|
| 145 | { |
|
| 146 | return $this->setProperty('areaServed', $areaServed); |
|
| 147 | } |
|
| 148 | ||
| 149 | /** |
|
| 150 | * An award won by or for this item. |
|
| 151 | * |
|
| 152 | * @param string|string[] $award |
|
| 153 | * |
|
| 154 | * @return static |
|
| 155 | * |
|
| 156 | * @see http://schema.org/award |
|
| 157 | */ |
|
| 158 | public function award($award) |
|
| 159 | { |
|
| 160 | return $this->setProperty('award', $award); |
|
| 161 | } |
|
| 162 | ||
| 163 | /** |
|
| 164 | * Awards won by or for this item. |
|
| 165 | * |
|
| 166 | * @param string|string[] $awards |
|
| 167 | * |
|
| 168 | * @return static |
|
| 169 | * |
|
| 170 | * @see http://schema.org/awards |
|
| 171 | */ |
|
| 172 | public function awards($awards) |
|
| 173 | { |
|
| 174 | return $this->setProperty('awards', $awards); |
|
| 175 | } |
|
| 176 | ||
| 177 | /** |
|
| 178 | * A short textual code (also called "store code") that uniquely identifies |
|
| 179 | * a place of business. The code is typically assigned by the |
|
| 180 | * parentOrganization and used in structured URLs. |
|
| 181 | * |
|
| 182 | * For example, in the URL |
|
| 183 | * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" |
|
| 184 | * is a branchCode for a particular branch. |
|
| 185 | * |
|
| 186 | * @param string|string[] $branchCode |
|
| 187 | * |
|
| 188 | * @return static |
|
| 189 | * |
|
| 190 | * @see http://schema.org/branchCode |
|
| 191 | */ |
|
| 192 | public function branchCode($branchCode) |
|
| 193 | { |
|
| 194 | return $this->setProperty('branchCode', $branchCode); |
|
| 195 | } |
|
| 196 | ||
| 197 | /** |
|
| 198 | * The brand(s) associated with a product or service, or the brand(s) |
|
| 199 | * maintained by an organization or business person. |
|
| 200 | * |
|
| 201 | * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand |
|
| 202 | * |
|
| 203 | * @return static |
|
| 204 | * |
|
| 205 | * @see http://schema.org/brand |
|
| 206 | */ |
|
| 207 | public function brand($brand) |
|
| 208 | { |
|
| 209 | return $this->setProperty('brand', $brand); |
|
| 210 | } |
|
| 211 | ||
| 212 | /** |
|
| 213 | * A contact point for a person or organization. |
|
| 214 | * |
|
| 215 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint |
|
| 216 | * |
|
| 217 | * @return static |
|
| 218 | * |
|
| 219 | * @see http://schema.org/contactPoint |
|
| 220 | */ |
|
| 221 | public function contactPoint($contactPoint) |
|
| 222 | { |
|
| 223 | return $this->setProperty('contactPoint', $contactPoint); |
|
| 224 | } |
|
| 225 | ||
| 226 | /** |
|
| 227 | * A contact point for a person or organization. |
|
| 228 | * |
|
| 229 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints |
|
| 230 | * |
|
| 231 | * @return static |
|
| 232 | * |
|
| 233 | * @see http://schema.org/contactPoints |
|
| 234 | */ |
|
| 235 | public function contactPoints($contactPoints) |
|
| 236 | { |
|
| 237 | return $this->setProperty('contactPoints', $contactPoints); |
|
| 238 | } |
|
| 239 | ||
| 240 | /** |
|
| 241 | * The basic containment relation between a place and one that contains it. |
|
| 242 | * |
|
| 243 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn |
|
| 244 | * |
|
| 245 | * @return static |
|
| 246 | * |
|
| 247 | * @see http://schema.org/containedIn |
|
| 248 | */ |
|
| 249 | public function containedIn($containedIn) |
|
| 250 | { |
|
| 251 | return $this->setProperty('containedIn', $containedIn); |
|
| 252 | } |
|
| 253 | ||
| 254 | /** |
|
| 255 | * The basic containment relation between a place and one that contains it. |
|
| 256 | * |
|
| 257 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace |
|
| 258 | * |
|
| 259 | * @return static |
|
| 260 | * |
|
| 261 | * @see http://schema.org/containedInPlace |
|
| 262 | */ |
|
| 263 | public function containedInPlace($containedInPlace) |
|
| 264 | { |
|
| 265 | return $this->setProperty('containedInPlace', $containedInPlace); |
|
| 266 | } |
|
| 267 | ||
| 268 | /** |
|
| 269 | * The basic containment relation between a place and another that it |
|
| 270 | * contains. |
|
| 271 | * |
|
| 272 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace |
|
| 273 | * |
|
| 274 | * @return static |
|
| 275 | * |
|
| 276 | * @see http://schema.org/containsPlace |
|
| 277 | */ |
|
| 278 | public function containsPlace($containsPlace) |
|
| 279 | { |
|
| 280 | return $this->setProperty('containsPlace', $containsPlace); |
|
| 281 | } |
|
| 282 | ||
| 283 | /** |
|
| 284 | * A relationship between an organization and a department of that |
|
| 285 | * organization, also described as an organization (allowing different urls, |
|
| 286 | * logos, opening hours). For example: a store with a pharmacy, or a bakery |
|
| 287 | * with a cafe. |
|
| 288 | * |
|
| 289 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department |
|
| 290 | * |
|
| 291 | * @return static |
|
| 292 | * |
|
| 293 | * @see http://schema.org/department |
|
| 294 | */ |
|
| 295 | public function department($department) |
|
| 296 | { |
|
| 297 | return $this->setProperty('department', $department); |
|
| 298 | } |
|
| 299 | ||
| 300 | /** |
|
| 301 | * A description of the item. |
|
| 302 | * |
|
| 303 | * @param string|string[] $description |
|
| 304 | * |
|
| 305 | * @return static |
|
| 306 | * |
|
| 307 | * @see http://schema.org/description |
|
| 308 | */ |
|
| 309 | public function description($description) |
|
| 310 | { |
|
| 311 | return $this->setProperty('description', $description); |
|
| 312 | } |
|
| 313 | ||
| 314 | /** |
|
| 315 | * A sub property of description. A short description of the item used to |
|
| 316 | * disambiguate from other, similar items. Information from other properties |
|
| 317 | * (in particular, name) may be necessary for the description to be useful |
|
| 318 | * for disambiguation. |
|
| 319 | * |
|
| 320 | * @param string|string[] $disambiguatingDescription |
|
| 321 | * |
|
| 322 | * @return static |
|
| 323 | * |
|
| 324 | * @see http://schema.org/disambiguatingDescription |
|
| 325 | */ |
|
| 326 | public function disambiguatingDescription($disambiguatingDescription) |
|
| 327 | { |
|
| 328 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
| 329 | } |
|
| 330 | ||
| 331 | /** |
|
| 332 | * The date that this organization was dissolved. |
|
| 333 | * |
|
| 334 | * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate |
|
| 335 | * |
|
| 336 | * @return static |
|
| 337 | * |
|
| 338 | * @see http://schema.org/dissolutionDate |
|
| 339 | */ |
|
| 340 | public function dissolutionDate($dissolutionDate) |
|
| 341 | { |
|
| 342 | return $this->setProperty('dissolutionDate', $dissolutionDate); |
|
| 343 | } |
|
| 344 | ||
| 345 | /** |
|
| 346 | * The Dun & Bradstreet DUNS number for identifying an organization or |
|
| 347 | * business person. |
|
| 348 | * |
|
| 349 | * @param string|string[] $duns |
|
| 350 | * |
|
| 351 | * @return static |
|
| 352 | * |
|
| 353 | * @see http://schema.org/duns |
|
| 354 | */ |
|
| 355 | public function duns($duns) |
|
| 356 | { |
|
| 357 | return $this->setProperty('duns', $duns); |
|
| 358 | } |
|
| 359 | ||
| 360 | /** |
|
| 361 | * Email address. |
|
| 362 | * |
|
| 363 | * @param string|string[] $email |
|
| 364 | * |
|
| 365 | * @return static |
|
| 366 | * |
|
| 367 | * @see http://schema.org/email |
|
| 368 | */ |
|
| 369 | public function email($email) |
|
| 370 | { |
|
| 371 | return $this->setProperty('email', $email); |
|
| 372 | } |
|
| 373 | ||
| 374 | /** |
|
| 375 | * Someone working for this organization. |
|
| 376 | * |
|
| 377 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee |
|
| 378 | * |
|
| 379 | * @return static |
|
| 380 | * |
|
| 381 | * @see http://schema.org/employee |
|
| 382 | */ |
|
| 383 | public function employee($employee) |
|
| 384 | { |
|
| 385 | return $this->setProperty('employee', $employee); |
|
| 386 | } |
|
| 387 | ||
| 388 | /** |
|
| 389 | * People working for this organization. |
|
| 390 | * |
|
| 391 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees |
|
| 392 | * |
|
| 393 | * @return static |
|
| 394 | * |
|
| 395 | * @see http://schema.org/employees |
|
| 396 | */ |
|
| 397 | public function employees($employees) |
|
| 398 | { |
|
| 399 | return $this->setProperty('employees', $employees); |
|
| 400 | } |
|
| 401 | ||
| 402 | /** |
|
| 403 | * Upcoming or past event associated with this place, organization, or |
|
| 404 | * action. |
|
| 405 | * |
|
| 406 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event |
|
| 407 | * |
|
| 408 | * @return static |
|
| 409 | * |
|
| 410 | * @see http://schema.org/event |
|
| 411 | */ |
|
| 412 | public function event($event) |
|
| 413 | { |
|
| 414 | return $this->setProperty('event', $event); |
|
| 415 | } |
|
| 416 | ||
| 417 | /** |
|
| 418 | * Upcoming or past events associated with this place or organization. |
|
| 419 | * |
|
| 420 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events |
|
| 421 | * |
|
| 422 | * @return static |
|
| 423 | * |
|
| 424 | * @see http://schema.org/events |
|
| 425 | */ |
|
| 426 | public function events($events) |
|
| 427 | { |
|
| 428 | return $this->setProperty('events', $events); |
|
| 429 | } |
|
| 430 | ||
| 431 | /** |
|
| 432 | * The fax number. |
|
| 433 | * |
|
| 434 | * @param string|string[] $faxNumber |
|
| 435 | * |
|
| 436 | * @return static |
|
| 437 | * |
|
| 438 | * @see http://schema.org/faxNumber |
|
| 439 | */ |
|
| 440 | public function faxNumber($faxNumber) |
|
| 441 | { |
|
| 442 | return $this->setProperty('faxNumber', $faxNumber); |
|
| 443 | } |
|
| 444 | ||
| 445 | /** |
|
| 446 | * A person who founded this organization. |
|
| 447 | * |
|
| 448 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder |
|
| 449 | * |
|
| 450 | * @return static |
|
| 451 | * |
|
| 452 | * @see http://schema.org/founder |
|
| 453 | */ |
|
| 454 | public function founder($founder) |
|
| 455 | { |
|
| 456 | return $this->setProperty('founder', $founder); |
|
| 457 | } |
|
| 458 | ||
| 459 | /** |
|
| 460 | * A person who founded this organization. |
|
| 461 | * |
|
| 462 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders |
|
| 463 | * |
|
| 464 | * @return static |
|
| 465 | * |
|
| 466 | * @see http://schema.org/founders |
|
| 467 | */ |
|
| 468 | public function founders($founders) |
|
| 469 | { |
|
| 470 | return $this->setProperty('founders', $founders); |
|
| 471 | } |
|
| 472 | ||
| 473 | /** |
|
| 474 | * The date that this organization was founded. |
|
| 475 | * |
|
| 476 | * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate |
|
| 477 | * |
|
| 478 | * @return static |
|
| 479 | * |
|
| 480 | * @see http://schema.org/foundingDate |
|
| 481 | */ |
|
| 482 | public function foundingDate($foundingDate) |
|
| 483 | { |
|
| 484 | return $this->setProperty('foundingDate', $foundingDate); |
|
| 485 | } |
|
| 486 | ||
| 487 | /** |
|
| 488 | * The place where the Organization was founded. |
|
| 489 | * |
|
| 490 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation |
|
| 491 | * |
|
| 492 | * @return static |
|
| 493 | * |
|
| 494 | * @see http://schema.org/foundingLocation |
|
| 495 | */ |
|
| 496 | public function foundingLocation($foundingLocation) |
|
| 497 | { |
|
| 498 | return $this->setProperty('foundingLocation', $foundingLocation); |
|
| 499 | } |
|
| 500 | ||
| 501 | /** |
|
| 502 | * A person or organization that supports (sponsors) something through some |
|
| 503 | * kind of financial contribution. |
|
| 504 | * |
|
| 505 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder |
|
| 506 | * |
|
| 507 | * @return static |
|
| 508 | * |
|
| 509 | * @see http://schema.org/funder |
|
| 510 | */ |
|
| 511 | public function funder($funder) |
|
| 512 | { |
|
| 513 | return $this->setProperty('funder', $funder); |
|
| 514 | } |
|
| 515 | ||
| 516 | /** |
|
| 517 | * The geo coordinates of the place. |
|
| 518 | * |
|
| 519 | * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo |
|
| 520 | * |
|
| 521 | * @return static |
|
| 522 | * |
|
| 523 | * @see http://schema.org/geo |
|
| 524 | */ |
|
| 525 | public function geo($geo) |
|
| 526 | { |
|
| 527 | return $this->setProperty('geo', $geo); |
|
| 528 | } |
|
| 529 | ||
| 530 | /** |
|
| 531 | * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also |
|
| 532 | * referred to as International Location Number or ILN) of the respective |
|
| 533 | * organization, person, or place. The GLN is a 13-digit number used to |
|
| 534 | * identify parties and physical locations. |
|
| 535 | * |
|
| 536 | * @param string|string[] $globalLocationNumber |
|
| 537 | * |
|
| 538 | * @return static |
|
| 539 | * |
|
| 540 | * @see http://schema.org/globalLocationNumber |
|
| 541 | */ |
|
| 542 | public function globalLocationNumber($globalLocationNumber) |
|
| 543 | { |
|
| 544 | return $this->setProperty('globalLocationNumber', $globalLocationNumber); |
|
| 545 | } |
|
| 546 | ||
| 547 | /** |
|
| 548 | * A URL to a map of the place. |
|
| 549 | * |
|
| 550 | * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap |
|
| 551 | * |
|
| 552 | * @return static |
|
| 553 | * |
|
| 554 | * @see http://schema.org/hasMap |
|
| 555 | */ |
|
| 556 | public function hasMap($hasMap) |
|
| 557 | { |
|
| 558 | return $this->setProperty('hasMap', $hasMap); |
|
| 559 | } |
|
| 560 | ||
| 561 | /** |
|
| 562 | * Indicates an OfferCatalog listing for this Organization, Person, or |
|
| 563 | * Service. |
|
| 564 | * |
|
| 565 | * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog |
|
| 566 | * |
|
| 567 | * @return static |
|
| 568 | * |
|
| 569 | * @see http://schema.org/hasOfferCatalog |
|
| 570 | */ |
|
| 571 | public function hasOfferCatalog($hasOfferCatalog) |
|
| 572 | { |
|
| 573 | return $this->setProperty('hasOfferCatalog', $hasOfferCatalog); |
|
| 574 | } |
|
| 575 | ||
| 576 | /** |
|
| 577 | * Points-of-Sales operated by the organization or person. |
|
| 578 | * |
|
| 579 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS |
|
| 580 | * |
|
| 581 | * @return static |
|
| 582 | * |
|
| 583 | * @see http://schema.org/hasPOS |
|
| 584 | */ |
|
| 585 | public function hasPOS($hasPOS) |
|
| 586 | { |
|
| 587 | return $this->setProperty('hasPOS', $hasPOS); |
|
| 588 | } |
|
| 589 | ||
| 590 | /** |
|
| 591 | * The identifier property represents any kind of identifier for any kind of |
|
| 592 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
| 593 | * dedicated properties for representing many of these, either as textual |
|
| 594 | * strings or as URL (URI) links. See [background |
|
| 595 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
| 596 | * |
|
| 597 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
| 598 | * |
|
| 599 | * @return static |
|
| 600 | * |
|
| 601 | * @see http://schema.org/identifier |
|
| 602 | */ |
|
| 603 | public function identifier($identifier) |
|
| 604 | { |
|
| 605 | return $this->setProperty('identifier', $identifier); |
|
| 606 | } |
|
| 607 | ||
| 608 | /** |
|
| 609 | * An image of the item. This can be a [[URL]] or a fully described |
|
| 610 | * [[ImageObject]]. |
|
| 611 | * |
|
| 612 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
| 613 | * |
|
| 614 | * @return static |
|
| 615 | * |
|
| 616 | * @see http://schema.org/image |
|
| 617 | */ |
|
| 618 | public function image($image) |
|
| 619 | { |
|
| 620 | return $this->setProperty('image', $image); |
|
| 621 | } |
|
| 622 | ||
| 623 | /** |
|
| 624 | * A flag to signal that the item, event, or place is accessible for free. |
|
| 625 | * |
|
| 626 | * @param bool|bool[] $isAccessibleForFree |
|
| 627 | * |
|
| 628 | * @return static |
|
| 629 | * |
|
| 630 | * @see http://schema.org/isAccessibleForFree |
|
| 631 | */ |
|
| 632 | public function isAccessibleForFree($isAccessibleForFree) |
|
| 633 | { |
|
| 634 | return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); |
|
| 635 | } |
|
| 636 | ||
| 637 | /** |
|
| 638 | * The International Standard of Industrial Classification of All Economic |
|
| 639 | * Activities (ISIC), Revision 4 code for a particular organization, |
|
| 640 | * business person, or place. |
|
| 641 | * |
|
| 642 | * @param string|string[] $isicV4 |
|
| 643 | * |
|
| 644 | * @return static |
|
| 645 | * |
|
| 646 | * @see http://schema.org/isicV4 |
|
| 647 | */ |
|
| 648 | public function isicV4($isicV4) |
|
| 649 | { |
|
| 650 | return $this->setProperty('isicV4', $isicV4); |
|
| 651 | } |
|
| 652 | ||
| 653 | /** |
|
| 654 | * The latitude of a location. For example ```37.42242``` ([WGS |
|
| 655 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 656 | * |
|
| 657 | * @param float|float[]|int|int[]|string|string[] $latitude |
|
| 658 | * |
|
| 659 | * @return static |
|
| 660 | * |
|
| 661 | * @see http://schema.org/latitude |
|
| 662 | */ |
|
| 663 | public function latitude($latitude) |
|
| 664 | { |
|
| 665 | return $this->setProperty('latitude', $latitude); |
|
| 666 | } |
|
| 667 | ||
| 668 | /** |
|
| 669 | * The official name of the organization, e.g. the registered company name. |
|
| 670 | * |
|
| 671 | * @param string|string[] $legalName |
|
| 672 | * |
|
| 673 | * @return static |
|
| 674 | * |
|
| 675 | * @see http://schema.org/legalName |
|
| 676 | */ |
|
| 677 | public function legalName($legalName) |
|
| 678 | { |
|
| 679 | return $this->setProperty('legalName', $legalName); |
|
| 680 | } |
|
| 681 | ||
| 682 | /** |
|
| 683 | * An organization identifier that uniquely identifies a legal entity as |
|
| 684 | * defined in ISO 17442. |
|
| 685 | * |
|
| 686 | * @param string|string[] $leiCode |
|
| 687 | * |
|
| 688 | * @return static |
|
| 689 | * |
|
| 690 | * @see http://schema.org/leiCode |
|
| 691 | */ |
|
| 692 | public function leiCode($leiCode) |
|
| 693 | { |
|
| 694 | return $this->setProperty('leiCode', $leiCode); |
|
| 695 | } |
|
| 696 | ||
| 697 | /** |
|
| 698 | * The location of for example where the event is happening, an organization |
|
| 699 | * is located, or where an action takes place. |
|
| 700 | * |
|
| 701 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location |
|
| 702 | * |
|
| 703 | * @return static |
|
| 704 | * |
|
| 705 | * @see http://schema.org/location |
|
| 706 | */ |
|
| 707 | public function location($location) |
|
| 708 | { |
|
| 709 | return $this->setProperty('location', $location); |
|
| 710 | } |
|
| 711 | ||
| 712 | /** |
|
| 713 | * An associated logo. |
|
| 714 | * |
|
| 715 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo |
|
| 716 | * |
|
| 717 | * @return static |
|
| 718 | * |
|
| 719 | * @see http://schema.org/logo |
|
| 720 | */ |
|
| 721 | public function logo($logo) |
|
| 722 | { |
|
| 723 | return $this->setProperty('logo', $logo); |
|
| 724 | } |
|
| 725 | ||
| 726 | /** |
|
| 727 | * The longitude of a location. For example ```-122.08585``` ([WGS |
|
| 728 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 729 | * |
|
| 730 | * @param float|float[]|int|int[]|string|string[] $longitude |
|
| 731 | * |
|
| 732 | * @return static |
|
| 733 | * |
|
| 734 | * @see http://schema.org/longitude |
|
| 735 | */ |
|
| 736 | public function longitude($longitude) |
|
| 737 | { |
|
| 738 | return $this->setProperty('longitude', $longitude); |
|
| 739 | } |
|
| 740 | ||
| 741 | /** |
|
| 742 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
| 743 | * entity being described. See [background |
|
| 744 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
| 745 | * |
|
| 746 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
| 747 | * |
|
| 748 | * @return static |
|
| 749 | * |
|
| 750 | * @see http://schema.org/mainEntityOfPage |
|
| 751 | */ |
|
| 752 | public function mainEntityOfPage($mainEntityOfPage) |
|
| 753 | { |
|
| 754 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
| 755 | } |
|
| 756 | ||
| 757 | /** |
|
| 758 | * A pointer to products or services offered by the organization or person. |
|
| 759 | * |
|
| 760 | * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer |
|
| 761 | * |
|
| 762 | * @return static |
|
| 763 | * |
|
| 764 | * @see http://schema.org/makesOffer |
|
| 765 | */ |
|
| 766 | public function makesOffer($makesOffer) |
|
| 767 | { |
|
| 768 | return $this->setProperty('makesOffer', $makesOffer); |
|
| 769 | } |
|
| 770 | ||
| 771 | /** |
|
| 772 | * A URL to a map of the place. |
|
| 773 | * |
|
| 774 | * @param string|string[] $map |
|
| 775 | * |
|
| 776 | * @return static |
|
| 777 | * |
|
| 778 | * @see http://schema.org/map |
|
| 779 | */ |
|
| 780 | public function map($map) |
|
| 781 | { |
|
| 782 | return $this->setProperty('map', $map); |
|
| 783 | } |
|
| 784 | ||
| 785 | /** |
|
| 786 | * A URL to a map of the place. |
|
| 787 | * |
|
| 788 | * @param string|string[] $maps |
|
| 789 | * |
|
| 790 | * @return static |
|
| 791 | * |
|
| 792 | * @see http://schema.org/maps |
|
| 793 | */ |
|
| 794 | public function maps($maps) |
|
| 795 | { |
|
| 796 | return $this->setProperty('maps', $maps); |
|
| 797 | } |
|
| 798 | ||
| 799 | /** |
|
| 800 | * The total number of individuals that may attend an event or venue. |
|
| 801 | * |
|
| 802 | * @param int|int[] $maximumAttendeeCapacity |
|
| 803 | * |
|
| 804 | * @return static |
|
| 805 | * |
|
| 806 | * @see http://schema.org/maximumAttendeeCapacity |
|
| 807 | */ |
|
| 808 | public function maximumAttendeeCapacity($maximumAttendeeCapacity) |
|
| 809 | { |
|
| 810 | return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity); |
|
| 811 | } |
|
| 812 | ||
| 813 | /** |
|
| 814 | * A member of an Organization or a ProgramMembership. Organizations can be |
|
| 815 | * members of organizations; ProgramMembership is typically for individuals. |
|
| 816 | * |
|
| 817 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member |
|
| 818 | * |
|
| 819 | * @return static |
|
| 820 | * |
|
| 821 | * @see http://schema.org/member |
|
| 822 | */ |
|
| 823 | public function member($member) |
|
| 824 | { |
|
| 825 | return $this->setProperty('member', $member); |
|
| 826 | } |
|
| 827 | ||
| 828 | /** |
|
| 829 | * An Organization (or ProgramMembership) to which this Person or |
|
| 830 | * Organization belongs. |
|
| 831 | * |
|
| 832 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf |
|
| 833 | * |
|
| 834 | * @return static |
|
| 835 | * |
|
| 836 | * @see http://schema.org/memberOf |
|
| 837 | */ |
|
| 838 | public function memberOf($memberOf) |
|
| 839 | { |
|
| 840 | return $this->setProperty('memberOf', $memberOf); |
|
| 841 | } |
|
| 842 | ||
| 843 | /** |
|
| 844 | * A member of this organization. |
|
| 845 | * |
|
| 846 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members |
|
| 847 | * |
|
| 848 | * @return static |
|
| 849 | * |
|
| 850 | * @see http://schema.org/members |
|
| 851 | */ |
|
| 852 | public function members($members) |
|
| 853 | { |
|
| 854 | return $this->setProperty('members', $members); |
|
| 855 | } |
|
| 856 | ||
| 857 | /** |
|
| 858 | * The North American Industry Classification System (NAICS) code for a |
|
| 859 | * particular organization or business person. |
|
| 860 | * |
|
| 861 | * @param string|string[] $naics |
|
| 862 | * |
|
| 863 | * @return static |
|
| 864 | * |
|
| 865 | * @see http://schema.org/naics |
|
| 866 | */ |
|
| 867 | public function naics($naics) |
|
| 868 | { |
|
| 869 | return $this->setProperty('naics', $naics); |
|
| 870 | } |
|
| 871 | ||
| 872 | /** |
|
| 873 | * The name of the item. |
|
| 874 | * |
|
| 875 | * @param string|string[] $name |
|
| 876 | * |
|
| 877 | * @return static |
|
| 878 | * |
|
| 879 | * @see http://schema.org/name |
|
| 880 | */ |
|
| 881 | public function name($name) |
|
| 882 | { |
|
| 883 | return $this->setProperty('name', $name); |
|
| 884 | } |
|
| 885 | ||
| 886 | /** |
|
| 887 | * The number of employees in an organization e.g. business. |
|
| 888 | * |
|
| 889 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees |
|
| 890 | * |
|
| 891 | * @return static |
|
| 892 | * |
|
| 893 | * @see http://schema.org/numberOfEmployees |
|
| 894 | */ |
|
| 895 | public function numberOfEmployees($numberOfEmployees) |
|
| 896 | { |
|
| 897 | return $this->setProperty('numberOfEmployees', $numberOfEmployees); |
|
| 898 | } |
|
| 899 | ||
| 900 | /** |
|
| 901 | * A pointer to the organization or person making the offer. |
|
| 902 | * |
|
| 903 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy |
|
| 904 | * |
|
| 905 | * @return static |
|
| 906 | * |
|
| 907 | * @see http://schema.org/offeredBy |
|
| 908 | */ |
|
| 909 | public function offeredBy($offeredBy) |
|
| 910 | { |
|
| 911 | return $this->setProperty('offeredBy', $offeredBy); |
|
| 912 | } |
|
| 913 | ||
| 914 | /** |
|
| 915 | * The general opening hours for a business. Opening hours can be specified |
|
| 916 | * as a weekly time range, starting with days, then times per day. Multiple |
|
| 917 | * days can be listed with commas ',' separating each day. Day or time |
|
| 918 | * ranges are specified using a hyphen '-'. |
|
| 919 | * |
|
| 920 | * * Days are specified using the following two-letter combinations: |
|
| 921 | * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. |
|
| 922 | * * Times are specified using 24:00 time. For example, 3pm is specified as |
|
| 923 | * ```15:00```. |
|
| 924 | * * Here is an example: <code><time itemprop="openingHours" |
|
| 925 | * datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays |
|
| 926 | * 4-8pm</time></code>. |
|
| 927 | * * If a business is open 7 days a week, then it can be specified as |
|
| 928 | * <code><time itemprop="openingHours" |
|
| 929 | * datetime="Mo-Su">Monday through Sunday, all |
|
| 930 | * day</time></code>. |
|
| 931 | * |
|
| 932 | * @param string|string[] $openingHours |
|
| 933 | * |
|
| 934 | * @return static |
|
| 935 | * |
|
| 936 | * @see http://schema.org/openingHours |
|
| 937 | */ |
|
| 938 | public function openingHours($openingHours) |
|
| 939 | { |
|
| 940 | return $this->setProperty('openingHours', $openingHours); |
|
| 941 | } |
|
| 942 | ||
| 943 | /** |
|
| 944 | * The opening hours of a certain place. |
|
| 945 | * |
|
| 946 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification |
|
| 947 | * |
|
| 948 | * @return static |
|
| 949 | * |
|
| 950 | * @see http://schema.org/openingHoursSpecification |
|
| 951 | */ |
|
| 952 | public function openingHoursSpecification($openingHoursSpecification) |
|
| 953 | { |
|
| 954 | return $this->setProperty('openingHoursSpecification', $openingHoursSpecification); |
|
| 955 | } |
|
| 956 | ||
| 957 | /** |
|
| 958 | * Products owned by the organization or person. |
|
| 959 | * |
|
| 960 | * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns |
|
| 961 | * |
|
| 962 | * @return static |
|
| 963 | * |
|
| 964 | * @see http://schema.org/owns |
|
| 965 | */ |
|
| 966 | public function owns($owns) |
|
| 967 | { |
|
| 968 | return $this->setProperty('owns', $owns); |
|
| 969 | } |
|
| 970 | ||
| 971 | /** |
|
| 972 | * The larger organization that this organization is a [[subOrganization]] |
|
| 973 | * of, if any. |
|
| 974 | * |
|
| 975 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization |
|
| 976 | * |
|
| 977 | * @return static |
|
| 978 | * |
|
| 979 | * @see http://schema.org/parentOrganization |
|
| 980 | */ |
|
| 981 | public function parentOrganization($parentOrganization) |
|
| 982 | { |
|
| 983 | return $this->setProperty('parentOrganization', $parentOrganization); |
|
| 984 | } |
|
| 985 | ||
| 986 | /** |
|
| 987 | * A photograph of this place. |
|
| 988 | * |
|
| 989 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo |
|
| 990 | * |
|
| 991 | * @return static |
|
| 992 | * |
|
| 993 | * @see http://schema.org/photo |
|
| 994 | */ |
|
| 995 | public function photo($photo) |
|
| 996 | { |
|
| 997 | return $this->setProperty('photo', $photo); |
|
| 998 | } |
|
| 999 | ||
| 1000 | /** |
|
| 1001 | * Photographs of this place. |
|
| 1002 | * |
|
| 1003 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos |
|
| 1004 | * |
|
| 1005 | * @return static |
|
| 1006 | * |
|
| 1007 | * @see http://schema.org/photos |
|
| 1008 | */ |
|
| 1009 | public function photos($photos) |
|
| 1010 | { |
|
| 1011 | return $this->setProperty('photos', $photos); |
|
| 1012 | } |
|
| 1013 | ||
| 1014 | /** |
|
| 1015 | * Indicates a potential Action, which describes an idealized action in |
|
| 1016 | * which this thing would play an 'object' role. |
|
| 1017 | * |
|
| 1018 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
| 1019 | * |
|
| 1020 | * @return static |
|
| 1021 | * |
|
| 1022 | * @see http://schema.org/potentialAction |
|
| 1023 | */ |
|
| 1024 | public function potentialAction($potentialAction) |
|
| 1025 | { |
|
| 1026 | return $this->setProperty('potentialAction', $potentialAction); |
|
| 1027 | } |
|
| 1028 | ||
| 1029 | /** |
|
| 1030 | * A flag to signal that the [[Place]] is open to public visitors. If this |
|
| 1031 | * property is omitted there is no assumed default boolean value |
|
| 1032 | * |
|
| 1033 | * @param bool|bool[] $publicAccess |
|
| 1034 | * |
|
| 1035 | * @return static |
|
| 1036 | * |
|
| 1037 | * @see http://schema.org/publicAccess |
|
| 1038 | */ |
|
| 1039 | public function publicAccess($publicAccess) |
|
| 1040 | { |
|
| 1041 | return $this->setProperty('publicAccess', $publicAccess); |
|
| 1042 | } |
|
| 1043 | ||
| 1044 | /** |
|
| 1045 | * The publishingPrinciples property indicates (typically via [[URL]]) a |
|
| 1046 | * document describing the editorial principles of an [[Organization]] (or |
|
| 1047 | * individual e.g. a [[Person]] writing a blog) that relate to their |
|
| 1048 | * activities as a publisher, e.g. ethics or diversity policies. When |
|
| 1049 | * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are |
|
| 1050 | * those of the party primarily responsible for the creation of the |
|
| 1051 | * [[CreativeWork]]. |
|
| 1052 | * |
|
| 1053 | * While such policies are most typically expressed in natural language, |
|
| 1054 | * sometimes related information (e.g. indicating a [[funder]]) can be |
|
| 1055 | * expressed using schema.org terminology. |
|
| 1056 | * |
|
| 1057 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples |
|
| 1058 | * |
|
| 1059 | * @return static |
|
| 1060 | * |
|
| 1061 | * @see http://schema.org/publishingPrinciples |
|
| 1062 | */ |
|
| 1063 | public function publishingPrinciples($publishingPrinciples) |
|
| 1064 | { |
|
| 1065 | return $this->setProperty('publishingPrinciples', $publishingPrinciples); |
|
| 1066 | } |
|
| 1067 | ||
| 1068 | /** |
|
| 1069 | * A review of the item. |
|
| 1070 | * |
|
| 1071 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review |
|
| 1072 | * |
|
| 1073 | * @return static |
|
| 1074 | * |
|
| 1075 | * @see http://schema.org/review |
|
| 1076 | */ |
|
| 1077 | public function review($review) |
|
| 1078 | { |
|
| 1079 | return $this->setProperty('review', $review); |
|
| 1080 | } |
|
| 1081 | ||
| 1082 | /** |
|
| 1083 | * Review of the item. |
|
| 1084 | * |
|
| 1085 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews |
|
| 1086 | * |
|
| 1087 | * @return static |
|
| 1088 | * |
|
| 1089 | * @see http://schema.org/reviews |
|
| 1090 | */ |
|
| 1091 | public function reviews($reviews) |
|
| 1092 | { |
|
| 1093 | return $this->setProperty('reviews', $reviews); |
|
| 1094 | } |
|
| 1095 | ||
| 1096 | /** |
|
| 1097 | * URL of a reference Web page that unambiguously indicates the item's |
|
| 1098 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
| 1099 | * official website. |
|
| 1100 | * |
|
| 1101 | * @param string|string[] $sameAs |
|
| 1102 | * |
|
| 1103 | * @return static |
|
| 1104 | * |
|
| 1105 | * @see http://schema.org/sameAs |
|
| 1106 | */ |
|
| 1107 | public function sameAs($sameAs) |
|
| 1108 | { |
|
| 1109 | return $this->setProperty('sameAs', $sameAs); |
|
| 1110 | } |
|
| 1111 | ||
| 1112 | /** |
|
| 1113 | * A pointer to products or services sought by the organization or person |
|
| 1114 | * (demand). |
|
| 1115 | * |
|
| 1116 | * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks |
|
| 1117 | * |
|
| 1118 | * @return static |
|
| 1119 | * |
|
| 1120 | * @see http://schema.org/seeks |
|
| 1121 | */ |
|
| 1122 | public function seeks($seeks) |
|
| 1123 | { |
|
| 1124 | return $this->setProperty('seeks', $seeks); |
|
| 1125 | } |
|
| 1126 | ||
| 1127 | /** |
|
| 1128 | * The geographic area where the service is provided. |
|
| 1129 | * |
|
| 1130 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea |
|
| 1131 | * |
|
| 1132 | * @return static |
|
| 1133 | * |
|
| 1134 | * @see http://schema.org/serviceArea |
|
| 1135 | */ |
|
| 1136 | public function serviceArea($serviceArea) |
|
| 1137 | { |
|
| 1138 | return $this->setProperty('serviceArea', $serviceArea); |
|
| 1139 | } |
|
| 1140 | ||
| 1141 | /** |
|
| 1142 | * A slogan or motto associated with the item. |
|
| 1143 | * |
|
| 1144 | * @param string|string[] $slogan |
|
| 1145 | * |
|
| 1146 | * @return static |
|
| 1147 | * |
|
| 1148 | * @see http://schema.org/slogan |
|
| 1149 | */ |
|
| 1150 | public function slogan($slogan) |
|
| 1151 | { |
|
| 1152 | return $this->setProperty('slogan', $slogan); |
|
| 1153 | } |
|
| 1154 | ||
| 1155 | /** |
|
| 1156 | * Indicates whether it is allowed to smoke in the place, e.g. in the |
|
| 1157 | * restaurant, hotel or hotel room. |
|
| 1158 | * |
|
| 1159 | * @param bool|bool[] $smokingAllowed |
|
| 1160 | * |
|
| 1161 | * @return static |
|
| 1162 | * |
|
| 1163 | * @see http://schema.org/smokingAllowed |
|
| 1164 | */ |
|
| 1165 | public function smokingAllowed($smokingAllowed) |
|
| 1166 | { |
|
| 1167 | return $this->setProperty('smokingAllowed', $smokingAllowed); |
|
| 1168 | } |
|
| 1169 | ||
| 1170 | /** |
|
| 1171 | * The special opening hours of a certain place. |
|
| 1172 | * |
|
| 1173 | * Use this to explicitly override general opening hours brought in scope by |
|
| 1174 | * [[openingHoursSpecification]] or [[openingHours]]. |
|
| 1175 | * |
|
| 1176 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification |
|
| 1177 | * |
|
| 1178 | * @return static |
|
| 1179 | * |
|
| 1180 | * @see http://schema.org/specialOpeningHoursSpecification |
|
| 1181 | */ |
|
| 1182 | public function specialOpeningHoursSpecification($specialOpeningHoursSpecification) |
|
| 1183 | { |
|
| 1184 | return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification); |
|
| 1185 | } |
|
| 1186 | ||
| 1187 | /** |
|
| 1188 | * A person or organization that supports a thing through a pledge, promise, |
|
| 1189 | * or financial contribution. e.g. a sponsor of a Medical Study or a |
|
| 1190 | * corporate sponsor of an event. |
|
| 1191 | * |
|
| 1192 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor |
|
| 1193 | * |
|
| 1194 | * @return static |
|
| 1195 | * |
|
| 1196 | * @see http://schema.org/sponsor |
|
| 1197 | */ |
|
| 1198 | public function sponsor($sponsor) |
|
| 1199 | { |
|
| 1200 | return $this->setProperty('sponsor', $sponsor); |
|
| 1201 | } |
|
| 1202 | ||
| 1203 | /** |
|
| 1204 | * A relationship between two organizations where the first includes the |
|
| 1205 | * second, e.g., as a subsidiary. See also: the more specific 'department' |
|
| 1206 | * property. |
|
| 1207 | * |
|
| 1208 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization |
|
| 1209 | * |
|
| 1210 | * @return static |
|
| 1211 | * |
|
| 1212 | * @see http://schema.org/subOrganization |
|
| 1213 | */ |
|
| 1214 | public function subOrganization($subOrganization) |
|
| 1215 | { |
|
| 1216 | return $this->setProperty('subOrganization', $subOrganization); |
|
| 1217 | } |
|
| 1218 | ||
| 1219 | /** |
|
| 1220 | * A CreativeWork or Event about this Thing. |
|
| 1221 | * |
|
| 1222 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
| 1223 | * |
|
| 1224 | * @return static |
|
| 1225 | * |
|
| 1226 | * @see http://schema.org/subjectOf |
|
| 1227 | */ |
|
| 1228 | public function subjectOf($subjectOf) |
|
| 1229 | { |
|
| 1230 | return $this->setProperty('subjectOf', $subjectOf); |
|
| 1231 | } |
|
| 1232 | ||
| 1233 | /** |
|
| 1234 | * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US |
|
| 1235 | * or the CIF/NIF in Spain. |
|
| 1236 | * |
|
| 1237 | * @param string|string[] $taxID |
|
| 1238 | * |
|
| 1239 | * @return static |
|
| 1240 | * |
|
| 1241 | * @see http://schema.org/taxID |
|
| 1242 | */ |
|
| 1243 | public function taxID($taxID) |
|
| 1244 | { |
|
| 1245 | return $this->setProperty('taxID', $taxID); |
|
| 1246 | } |
|
| 1247 | ||
| 1248 | /** |
|
| 1249 | * The telephone number. |
|
| 1250 | * |
|
| 1251 | * @param string|string[] $telephone |
|
| 1252 | * |
|
| 1253 | * @return static |
|
| 1254 | * |
|
| 1255 | * @see http://schema.org/telephone |
|
| 1256 | */ |
|
| 1257 | public function telephone($telephone) |
|
| 1258 | { |
|
| 1259 | return $this->setProperty('telephone', $telephone); |
|
| 1260 | } |
|
| 1261 | ||
| 1262 | /** |
|
| 1263 | * URL of the item. |
|
| 1264 | * |
|
| 1265 | * @param string|string[] $url |
|
| 1266 | * |
|
| 1267 | * @return static |
|
| 1268 | * |
|
| 1269 | * @see http://schema.org/url |
|
| 1270 | */ |
|
| 1271 | public function url($url) |
|
| 1272 | { |
|
| 1273 | return $this->setProperty('url', $url); |
|
| 1274 | } |
|
| 1275 | ||
| 1276 | /** |
|
| 1277 | * The Value-added Tax ID of the organization or person. |
|
| 1278 | * |
|
| 1279 | * @param string|string[] $vatID |
|
| 1280 | * |
|
| 1281 | * @return static |
|
| 1282 | * |
|
| 1283 | * @see http://schema.org/vatID |
|
| 1284 | */ |
|
| 1285 | public function vatID($vatID) |
|
| 1286 | { |
|
| 1287 | return $this->setProperty('vatID', $vatID); |
|
| 1288 | } |
|
| 1289 | ||
| 1290 | } |
|
| 1291 | ||
| @@ 18-1290 (lines=1273) @@ | ||
| 15 | * @see http://schema.org/School |
|
| 16 | * |
|
| 17 | */ |
|
| 18 | class School extends BaseType implements SchoolContract, CivicStructureContract, EducationalOrganizationContract, OrganizationContract, PlaceContract, ThingContract |
|
| 19 | { |
|
| 20 | /** |
|
| 21 | * A property-value pair representing an additional characteristics of the |
|
| 22 | * entitity, e.g. a product feature or another characteristic for which |
|
| 23 | * there is no matching property in schema.org. |
|
| 24 | * |
|
| 25 | * Note: Publishers should be aware that applications designed to use |
|
| 26 | * specific schema.org properties (e.g. http://schema.org/width, |
|
| 27 | * http://schema.org/color, http://schema.org/gtin13, ...) will typically |
|
| 28 | * expect such data to be provided using those properties, rather than using |
|
| 29 | * the generic property/value mechanism. |
|
| 30 | * |
|
| 31 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty |
|
| 32 | * |
|
| 33 | * @return static |
|
| 34 | * |
|
| 35 | * @see http://schema.org/additionalProperty |
|
| 36 | */ |
|
| 37 | public function additionalProperty($additionalProperty) |
|
| 38 | { |
|
| 39 | return $this->setProperty('additionalProperty', $additionalProperty); |
|
| 40 | } |
|
| 41 | ||
| 42 | /** |
|
| 43 | * An additional type for the item, typically used for adding more specific |
|
| 44 | * types from external vocabularies in microdata syntax. This is a |
|
| 45 | * relationship between something and a class that the thing is in. In RDFa |
|
| 46 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
| 47 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
| 48 | * understanding of extra types, in particular those defined externally. |
|
| 49 | * |
|
| 50 | * @param string|string[] $additionalType |
|
| 51 | * |
|
| 52 | * @return static |
|
| 53 | * |
|
| 54 | * @see http://schema.org/additionalType |
|
| 55 | */ |
|
| 56 | public function additionalType($additionalType) |
|
| 57 | { |
|
| 58 | return $this->setProperty('additionalType', $additionalType); |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * Physical address of the item. |
|
| 63 | * |
|
| 64 | * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address |
|
| 65 | * |
|
| 66 | * @return static |
|
| 67 | * |
|
| 68 | * @see http://schema.org/address |
|
| 69 | */ |
|
| 70 | public function address($address) |
|
| 71 | { |
|
| 72 | return $this->setProperty('address', $address); |
|
| 73 | } |
|
| 74 | ||
| 75 | /** |
|
| 76 | * The overall rating, based on a collection of reviews or ratings, of the |
|
| 77 | * item. |
|
| 78 | * |
|
| 79 | * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating |
|
| 80 | * |
|
| 81 | * @return static |
|
| 82 | * |
|
| 83 | * @see http://schema.org/aggregateRating |
|
| 84 | */ |
|
| 85 | public function aggregateRating($aggregateRating) |
|
| 86 | { |
|
| 87 | return $this->setProperty('aggregateRating', $aggregateRating); |
|
| 88 | } |
|
| 89 | ||
| 90 | /** |
|
| 91 | * An alias for the item. |
|
| 92 | * |
|
| 93 | * @param string|string[] $alternateName |
|
| 94 | * |
|
| 95 | * @return static |
|
| 96 | * |
|
| 97 | * @see http://schema.org/alternateName |
|
| 98 | */ |
|
| 99 | public function alternateName($alternateName) |
|
| 100 | { |
|
| 101 | return $this->setProperty('alternateName', $alternateName); |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * Alumni of an organization. |
|
| 106 | * |
|
| 107 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni |
|
| 108 | * |
|
| 109 | * @return static |
|
| 110 | * |
|
| 111 | * @see http://schema.org/alumni |
|
| 112 | */ |
|
| 113 | public function alumni($alumni) |
|
| 114 | { |
|
| 115 | return $this->setProperty('alumni', $alumni); |
|
| 116 | } |
|
| 117 | ||
| 118 | /** |
|
| 119 | * An amenity feature (e.g. a characteristic or service) of the |
|
| 120 | * Accommodation. This generic property does not make a statement about |
|
| 121 | * whether the feature is included in an offer for the main accommodation or |
|
| 122 | * available at extra costs. |
|
| 123 | * |
|
| 124 | * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature |
|
| 125 | * |
|
| 126 | * @return static |
|
| 127 | * |
|
| 128 | * @see http://schema.org/amenityFeature |
|
| 129 | */ |
|
| 130 | public function amenityFeature($amenityFeature) |
|
| 131 | { |
|
| 132 | return $this->setProperty('amenityFeature', $amenityFeature); |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * The geographic area where a service or offered item is provided. |
|
| 137 | * |
|
| 138 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed |
|
| 139 | * |
|
| 140 | * @return static |
|
| 141 | * |
|
| 142 | * @see http://schema.org/areaServed |
|
| 143 | */ |
|
| 144 | public function areaServed($areaServed) |
|
| 145 | { |
|
| 146 | return $this->setProperty('areaServed', $areaServed); |
|
| 147 | } |
|
| 148 | ||
| 149 | /** |
|
| 150 | * An award won by or for this item. |
|
| 151 | * |
|
| 152 | * @param string|string[] $award |
|
| 153 | * |
|
| 154 | * @return static |
|
| 155 | * |
|
| 156 | * @see http://schema.org/award |
|
| 157 | */ |
|
| 158 | public function award($award) |
|
| 159 | { |
|
| 160 | return $this->setProperty('award', $award); |
|
| 161 | } |
|
| 162 | ||
| 163 | /** |
|
| 164 | * Awards won by or for this item. |
|
| 165 | * |
|
| 166 | * @param string|string[] $awards |
|
| 167 | * |
|
| 168 | * @return static |
|
| 169 | * |
|
| 170 | * @see http://schema.org/awards |
|
| 171 | */ |
|
| 172 | public function awards($awards) |
|
| 173 | { |
|
| 174 | return $this->setProperty('awards', $awards); |
|
| 175 | } |
|
| 176 | ||
| 177 | /** |
|
| 178 | * A short textual code (also called "store code") that uniquely identifies |
|
| 179 | * a place of business. The code is typically assigned by the |
|
| 180 | * parentOrganization and used in structured URLs. |
|
| 181 | * |
|
| 182 | * For example, in the URL |
|
| 183 | * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" |
|
| 184 | * is a branchCode for a particular branch. |
|
| 185 | * |
|
| 186 | * @param string|string[] $branchCode |
|
| 187 | * |
|
| 188 | * @return static |
|
| 189 | * |
|
| 190 | * @see http://schema.org/branchCode |
|
| 191 | */ |
|
| 192 | public function branchCode($branchCode) |
|
| 193 | { |
|
| 194 | return $this->setProperty('branchCode', $branchCode); |
|
| 195 | } |
|
| 196 | ||
| 197 | /** |
|
| 198 | * The brand(s) associated with a product or service, or the brand(s) |
|
| 199 | * maintained by an organization or business person. |
|
| 200 | * |
|
| 201 | * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand |
|
| 202 | * |
|
| 203 | * @return static |
|
| 204 | * |
|
| 205 | * @see http://schema.org/brand |
|
| 206 | */ |
|
| 207 | public function brand($brand) |
|
| 208 | { |
|
| 209 | return $this->setProperty('brand', $brand); |
|
| 210 | } |
|
| 211 | ||
| 212 | /** |
|
| 213 | * A contact point for a person or organization. |
|
| 214 | * |
|
| 215 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint |
|
| 216 | * |
|
| 217 | * @return static |
|
| 218 | * |
|
| 219 | * @see http://schema.org/contactPoint |
|
| 220 | */ |
|
| 221 | public function contactPoint($contactPoint) |
|
| 222 | { |
|
| 223 | return $this->setProperty('contactPoint', $contactPoint); |
|
| 224 | } |
|
| 225 | ||
| 226 | /** |
|
| 227 | * A contact point for a person or organization. |
|
| 228 | * |
|
| 229 | * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints |
|
| 230 | * |
|
| 231 | * @return static |
|
| 232 | * |
|
| 233 | * @see http://schema.org/contactPoints |
|
| 234 | */ |
|
| 235 | public function contactPoints($contactPoints) |
|
| 236 | { |
|
| 237 | return $this->setProperty('contactPoints', $contactPoints); |
|
| 238 | } |
|
| 239 | ||
| 240 | /** |
|
| 241 | * The basic containment relation between a place and one that contains it. |
|
| 242 | * |
|
| 243 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn |
|
| 244 | * |
|
| 245 | * @return static |
|
| 246 | * |
|
| 247 | * @see http://schema.org/containedIn |
|
| 248 | */ |
|
| 249 | public function containedIn($containedIn) |
|
| 250 | { |
|
| 251 | return $this->setProperty('containedIn', $containedIn); |
|
| 252 | } |
|
| 253 | ||
| 254 | /** |
|
| 255 | * The basic containment relation between a place and one that contains it. |
|
| 256 | * |
|
| 257 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace |
|
| 258 | * |
|
| 259 | * @return static |
|
| 260 | * |
|
| 261 | * @see http://schema.org/containedInPlace |
|
| 262 | */ |
|
| 263 | public function containedInPlace($containedInPlace) |
|
| 264 | { |
|
| 265 | return $this->setProperty('containedInPlace', $containedInPlace); |
|
| 266 | } |
|
| 267 | ||
| 268 | /** |
|
| 269 | * The basic containment relation between a place and another that it |
|
| 270 | * contains. |
|
| 271 | * |
|
| 272 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace |
|
| 273 | * |
|
| 274 | * @return static |
|
| 275 | * |
|
| 276 | * @see http://schema.org/containsPlace |
|
| 277 | */ |
|
| 278 | public function containsPlace($containsPlace) |
|
| 279 | { |
|
| 280 | return $this->setProperty('containsPlace', $containsPlace); |
|
| 281 | } |
|
| 282 | ||
| 283 | /** |
|
| 284 | * A relationship between an organization and a department of that |
|
| 285 | * organization, also described as an organization (allowing different urls, |
|
| 286 | * logos, opening hours). For example: a store with a pharmacy, or a bakery |
|
| 287 | * with a cafe. |
|
| 288 | * |
|
| 289 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department |
|
| 290 | * |
|
| 291 | * @return static |
|
| 292 | * |
|
| 293 | * @see http://schema.org/department |
|
| 294 | */ |
|
| 295 | public function department($department) |
|
| 296 | { |
|
| 297 | return $this->setProperty('department', $department); |
|
| 298 | } |
|
| 299 | ||
| 300 | /** |
|
| 301 | * A description of the item. |
|
| 302 | * |
|
| 303 | * @param string|string[] $description |
|
| 304 | * |
|
| 305 | * @return static |
|
| 306 | * |
|
| 307 | * @see http://schema.org/description |
|
| 308 | */ |
|
| 309 | public function description($description) |
|
| 310 | { |
|
| 311 | return $this->setProperty('description', $description); |
|
| 312 | } |
|
| 313 | ||
| 314 | /** |
|
| 315 | * A sub property of description. A short description of the item used to |
|
| 316 | * disambiguate from other, similar items. Information from other properties |
|
| 317 | * (in particular, name) may be necessary for the description to be useful |
|
| 318 | * for disambiguation. |
|
| 319 | * |
|
| 320 | * @param string|string[] $disambiguatingDescription |
|
| 321 | * |
|
| 322 | * @return static |
|
| 323 | * |
|
| 324 | * @see http://schema.org/disambiguatingDescription |
|
| 325 | */ |
|
| 326 | public function disambiguatingDescription($disambiguatingDescription) |
|
| 327 | { |
|
| 328 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
| 329 | } |
|
| 330 | ||
| 331 | /** |
|
| 332 | * The date that this organization was dissolved. |
|
| 333 | * |
|
| 334 | * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate |
|
| 335 | * |
|
| 336 | * @return static |
|
| 337 | * |
|
| 338 | * @see http://schema.org/dissolutionDate |
|
| 339 | */ |
|
| 340 | public function dissolutionDate($dissolutionDate) |
|
| 341 | { |
|
| 342 | return $this->setProperty('dissolutionDate', $dissolutionDate); |
|
| 343 | } |
|
| 344 | ||
| 345 | /** |
|
| 346 | * The Dun & Bradstreet DUNS number for identifying an organization or |
|
| 347 | * business person. |
|
| 348 | * |
|
| 349 | * @param string|string[] $duns |
|
| 350 | * |
|
| 351 | * @return static |
|
| 352 | * |
|
| 353 | * @see http://schema.org/duns |
|
| 354 | */ |
|
| 355 | public function duns($duns) |
|
| 356 | { |
|
| 357 | return $this->setProperty('duns', $duns); |
|
| 358 | } |
|
| 359 | ||
| 360 | /** |
|
| 361 | * Email address. |
|
| 362 | * |
|
| 363 | * @param string|string[] $email |
|
| 364 | * |
|
| 365 | * @return static |
|
| 366 | * |
|
| 367 | * @see http://schema.org/email |
|
| 368 | */ |
|
| 369 | public function email($email) |
|
| 370 | { |
|
| 371 | return $this->setProperty('email', $email); |
|
| 372 | } |
|
| 373 | ||
| 374 | /** |
|
| 375 | * Someone working for this organization. |
|
| 376 | * |
|
| 377 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee |
|
| 378 | * |
|
| 379 | * @return static |
|
| 380 | * |
|
| 381 | * @see http://schema.org/employee |
|
| 382 | */ |
|
| 383 | public function employee($employee) |
|
| 384 | { |
|
| 385 | return $this->setProperty('employee', $employee); |
|
| 386 | } |
|
| 387 | ||
| 388 | /** |
|
| 389 | * People working for this organization. |
|
| 390 | * |
|
| 391 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees |
|
| 392 | * |
|
| 393 | * @return static |
|
| 394 | * |
|
| 395 | * @see http://schema.org/employees |
|
| 396 | */ |
|
| 397 | public function employees($employees) |
|
| 398 | { |
|
| 399 | return $this->setProperty('employees', $employees); |
|
| 400 | } |
|
| 401 | ||
| 402 | /** |
|
| 403 | * Upcoming or past event associated with this place, organization, or |
|
| 404 | * action. |
|
| 405 | * |
|
| 406 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event |
|
| 407 | * |
|
| 408 | * @return static |
|
| 409 | * |
|
| 410 | * @see http://schema.org/event |
|
| 411 | */ |
|
| 412 | public function event($event) |
|
| 413 | { |
|
| 414 | return $this->setProperty('event', $event); |
|
| 415 | } |
|
| 416 | ||
| 417 | /** |
|
| 418 | * Upcoming or past events associated with this place or organization. |
|
| 419 | * |
|
| 420 | * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events |
|
| 421 | * |
|
| 422 | * @return static |
|
| 423 | * |
|
| 424 | * @see http://schema.org/events |
|
| 425 | */ |
|
| 426 | public function events($events) |
|
| 427 | { |
|
| 428 | return $this->setProperty('events', $events); |
|
| 429 | } |
|
| 430 | ||
| 431 | /** |
|
| 432 | * The fax number. |
|
| 433 | * |
|
| 434 | * @param string|string[] $faxNumber |
|
| 435 | * |
|
| 436 | * @return static |
|
| 437 | * |
|
| 438 | * @see http://schema.org/faxNumber |
|
| 439 | */ |
|
| 440 | public function faxNumber($faxNumber) |
|
| 441 | { |
|
| 442 | return $this->setProperty('faxNumber', $faxNumber); |
|
| 443 | } |
|
| 444 | ||
| 445 | /** |
|
| 446 | * A person who founded this organization. |
|
| 447 | * |
|
| 448 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder |
|
| 449 | * |
|
| 450 | * @return static |
|
| 451 | * |
|
| 452 | * @see http://schema.org/founder |
|
| 453 | */ |
|
| 454 | public function founder($founder) |
|
| 455 | { |
|
| 456 | return $this->setProperty('founder', $founder); |
|
| 457 | } |
|
| 458 | ||
| 459 | /** |
|
| 460 | * A person who founded this organization. |
|
| 461 | * |
|
| 462 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders |
|
| 463 | * |
|
| 464 | * @return static |
|
| 465 | * |
|
| 466 | * @see http://schema.org/founders |
|
| 467 | */ |
|
| 468 | public function founders($founders) |
|
| 469 | { |
|
| 470 | return $this->setProperty('founders', $founders); |
|
| 471 | } |
|
| 472 | ||
| 473 | /** |
|
| 474 | * The date that this organization was founded. |
|
| 475 | * |
|
| 476 | * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate |
|
| 477 | * |
|
| 478 | * @return static |
|
| 479 | * |
|
| 480 | * @see http://schema.org/foundingDate |
|
| 481 | */ |
|
| 482 | public function foundingDate($foundingDate) |
|
| 483 | { |
|
| 484 | return $this->setProperty('foundingDate', $foundingDate); |
|
| 485 | } |
|
| 486 | ||
| 487 | /** |
|
| 488 | * The place where the Organization was founded. |
|
| 489 | * |
|
| 490 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation |
|
| 491 | * |
|
| 492 | * @return static |
|
| 493 | * |
|
| 494 | * @see http://schema.org/foundingLocation |
|
| 495 | */ |
|
| 496 | public function foundingLocation($foundingLocation) |
|
| 497 | { |
|
| 498 | return $this->setProperty('foundingLocation', $foundingLocation); |
|
| 499 | } |
|
| 500 | ||
| 501 | /** |
|
| 502 | * A person or organization that supports (sponsors) something through some |
|
| 503 | * kind of financial contribution. |
|
| 504 | * |
|
| 505 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder |
|
| 506 | * |
|
| 507 | * @return static |
|
| 508 | * |
|
| 509 | * @see http://schema.org/funder |
|
| 510 | */ |
|
| 511 | public function funder($funder) |
|
| 512 | { |
|
| 513 | return $this->setProperty('funder', $funder); |
|
| 514 | } |
|
| 515 | ||
| 516 | /** |
|
| 517 | * The geo coordinates of the place. |
|
| 518 | * |
|
| 519 | * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo |
|
| 520 | * |
|
| 521 | * @return static |
|
| 522 | * |
|
| 523 | * @see http://schema.org/geo |
|
| 524 | */ |
|
| 525 | public function geo($geo) |
|
| 526 | { |
|
| 527 | return $this->setProperty('geo', $geo); |
|
| 528 | } |
|
| 529 | ||
| 530 | /** |
|
| 531 | * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also |
|
| 532 | * referred to as International Location Number or ILN) of the respective |
|
| 533 | * organization, person, or place. The GLN is a 13-digit number used to |
|
| 534 | * identify parties and physical locations. |
|
| 535 | * |
|
| 536 | * @param string|string[] $globalLocationNumber |
|
| 537 | * |
|
| 538 | * @return static |
|
| 539 | * |
|
| 540 | * @see http://schema.org/globalLocationNumber |
|
| 541 | */ |
|
| 542 | public function globalLocationNumber($globalLocationNumber) |
|
| 543 | { |
|
| 544 | return $this->setProperty('globalLocationNumber', $globalLocationNumber); |
|
| 545 | } |
|
| 546 | ||
| 547 | /** |
|
| 548 | * A URL to a map of the place. |
|
| 549 | * |
|
| 550 | * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap |
|
| 551 | * |
|
| 552 | * @return static |
|
| 553 | * |
|
| 554 | * @see http://schema.org/hasMap |
|
| 555 | */ |
|
| 556 | public function hasMap($hasMap) |
|
| 557 | { |
|
| 558 | return $this->setProperty('hasMap', $hasMap); |
|
| 559 | } |
|
| 560 | ||
| 561 | /** |
|
| 562 | * Indicates an OfferCatalog listing for this Organization, Person, or |
|
| 563 | * Service. |
|
| 564 | * |
|
| 565 | * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog |
|
| 566 | * |
|
| 567 | * @return static |
|
| 568 | * |
|
| 569 | * @see http://schema.org/hasOfferCatalog |
|
| 570 | */ |
|
| 571 | public function hasOfferCatalog($hasOfferCatalog) |
|
| 572 | { |
|
| 573 | return $this->setProperty('hasOfferCatalog', $hasOfferCatalog); |
|
| 574 | } |
|
| 575 | ||
| 576 | /** |
|
| 577 | * Points-of-Sales operated by the organization or person. |
|
| 578 | * |
|
| 579 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS |
|
| 580 | * |
|
| 581 | * @return static |
|
| 582 | * |
|
| 583 | * @see http://schema.org/hasPOS |
|
| 584 | */ |
|
| 585 | public function hasPOS($hasPOS) |
|
| 586 | { |
|
| 587 | return $this->setProperty('hasPOS', $hasPOS); |
|
| 588 | } |
|
| 589 | ||
| 590 | /** |
|
| 591 | * The identifier property represents any kind of identifier for any kind of |
|
| 592 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
| 593 | * dedicated properties for representing many of these, either as textual |
|
| 594 | * strings or as URL (URI) links. See [background |
|
| 595 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
| 596 | * |
|
| 597 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
| 598 | * |
|
| 599 | * @return static |
|
| 600 | * |
|
| 601 | * @see http://schema.org/identifier |
|
| 602 | */ |
|
| 603 | public function identifier($identifier) |
|
| 604 | { |
|
| 605 | return $this->setProperty('identifier', $identifier); |
|
| 606 | } |
|
| 607 | ||
| 608 | /** |
|
| 609 | * An image of the item. This can be a [[URL]] or a fully described |
|
| 610 | * [[ImageObject]]. |
|
| 611 | * |
|
| 612 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
| 613 | * |
|
| 614 | * @return static |
|
| 615 | * |
|
| 616 | * @see http://schema.org/image |
|
| 617 | */ |
|
| 618 | public function image($image) |
|
| 619 | { |
|
| 620 | return $this->setProperty('image', $image); |
|
| 621 | } |
|
| 622 | ||
| 623 | /** |
|
| 624 | * A flag to signal that the item, event, or place is accessible for free. |
|
| 625 | * |
|
| 626 | * @param bool|bool[] $isAccessibleForFree |
|
| 627 | * |
|
| 628 | * @return static |
|
| 629 | * |
|
| 630 | * @see http://schema.org/isAccessibleForFree |
|
| 631 | */ |
|
| 632 | public function isAccessibleForFree($isAccessibleForFree) |
|
| 633 | { |
|
| 634 | return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); |
|
| 635 | } |
|
| 636 | ||
| 637 | /** |
|
| 638 | * The International Standard of Industrial Classification of All Economic |
|
| 639 | * Activities (ISIC), Revision 4 code for a particular organization, |
|
| 640 | * business person, or place. |
|
| 641 | * |
|
| 642 | * @param string|string[] $isicV4 |
|
| 643 | * |
|
| 644 | * @return static |
|
| 645 | * |
|
| 646 | * @see http://schema.org/isicV4 |
|
| 647 | */ |
|
| 648 | public function isicV4($isicV4) |
|
| 649 | { |
|
| 650 | return $this->setProperty('isicV4', $isicV4); |
|
| 651 | } |
|
| 652 | ||
| 653 | /** |
|
| 654 | * The latitude of a location. For example ```37.42242``` ([WGS |
|
| 655 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 656 | * |
|
| 657 | * @param float|float[]|int|int[]|string|string[] $latitude |
|
| 658 | * |
|
| 659 | * @return static |
|
| 660 | * |
|
| 661 | * @see http://schema.org/latitude |
|
| 662 | */ |
|
| 663 | public function latitude($latitude) |
|
| 664 | { |
|
| 665 | return $this->setProperty('latitude', $latitude); |
|
| 666 | } |
|
| 667 | ||
| 668 | /** |
|
| 669 | * The official name of the organization, e.g. the registered company name. |
|
| 670 | * |
|
| 671 | * @param string|string[] $legalName |
|
| 672 | * |
|
| 673 | * @return static |
|
| 674 | * |
|
| 675 | * @see http://schema.org/legalName |
|
| 676 | */ |
|
| 677 | public function legalName($legalName) |
|
| 678 | { |
|
| 679 | return $this->setProperty('legalName', $legalName); |
|
| 680 | } |
|
| 681 | ||
| 682 | /** |
|
| 683 | * An organization identifier that uniquely identifies a legal entity as |
|
| 684 | * defined in ISO 17442. |
|
| 685 | * |
|
| 686 | * @param string|string[] $leiCode |
|
| 687 | * |
|
| 688 | * @return static |
|
| 689 | * |
|
| 690 | * @see http://schema.org/leiCode |
|
| 691 | */ |
|
| 692 | public function leiCode($leiCode) |
|
| 693 | { |
|
| 694 | return $this->setProperty('leiCode', $leiCode); |
|
| 695 | } |
|
| 696 | ||
| 697 | /** |
|
| 698 | * The location of for example where the event is happening, an organization |
|
| 699 | * is located, or where an action takes place. |
|
| 700 | * |
|
| 701 | * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location |
|
| 702 | * |
|
| 703 | * @return static |
|
| 704 | * |
|
| 705 | * @see http://schema.org/location |
|
| 706 | */ |
|
| 707 | public function location($location) |
|
| 708 | { |
|
| 709 | return $this->setProperty('location', $location); |
|
| 710 | } |
|
| 711 | ||
| 712 | /** |
|
| 713 | * An associated logo. |
|
| 714 | * |
|
| 715 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo |
|
| 716 | * |
|
| 717 | * @return static |
|
| 718 | * |
|
| 719 | * @see http://schema.org/logo |
|
| 720 | */ |
|
| 721 | public function logo($logo) |
|
| 722 | { |
|
| 723 | return $this->setProperty('logo', $logo); |
|
| 724 | } |
|
| 725 | ||
| 726 | /** |
|
| 727 | * The longitude of a location. For example ```-122.08585``` ([WGS |
|
| 728 | * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). |
|
| 729 | * |
|
| 730 | * @param float|float[]|int|int[]|string|string[] $longitude |
|
| 731 | * |
|
| 732 | * @return static |
|
| 733 | * |
|
| 734 | * @see http://schema.org/longitude |
|
| 735 | */ |
|
| 736 | public function longitude($longitude) |
|
| 737 | { |
|
| 738 | return $this->setProperty('longitude', $longitude); |
|
| 739 | } |
|
| 740 | ||
| 741 | /** |
|
| 742 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
| 743 | * entity being described. See [background |
|
| 744 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
| 745 | * |
|
| 746 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
| 747 | * |
|
| 748 | * @return static |
|
| 749 | * |
|
| 750 | * @see http://schema.org/mainEntityOfPage |
|
| 751 | */ |
|
| 752 | public function mainEntityOfPage($mainEntityOfPage) |
|
| 753 | { |
|
| 754 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
| 755 | } |
|
| 756 | ||
| 757 | /** |
|
| 758 | * A pointer to products or services offered by the organization or person. |
|
| 759 | * |
|
| 760 | * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer |
|
| 761 | * |
|
| 762 | * @return static |
|
| 763 | * |
|
| 764 | * @see http://schema.org/makesOffer |
|
| 765 | */ |
|
| 766 | public function makesOffer($makesOffer) |
|
| 767 | { |
|
| 768 | return $this->setProperty('makesOffer', $makesOffer); |
|
| 769 | } |
|
| 770 | ||
| 771 | /** |
|
| 772 | * A URL to a map of the place. |
|
| 773 | * |
|
| 774 | * @param string|string[] $map |
|
| 775 | * |
|
| 776 | * @return static |
|
| 777 | * |
|
| 778 | * @see http://schema.org/map |
|
| 779 | */ |
|
| 780 | public function map($map) |
|
| 781 | { |
|
| 782 | return $this->setProperty('map', $map); |
|
| 783 | } |
|
| 784 | ||
| 785 | /** |
|
| 786 | * A URL to a map of the place. |
|
| 787 | * |
|
| 788 | * @param string|string[] $maps |
|
| 789 | * |
|
| 790 | * @return static |
|
| 791 | * |
|
| 792 | * @see http://schema.org/maps |
|
| 793 | */ |
|
| 794 | public function maps($maps) |
|
| 795 | { |
|
| 796 | return $this->setProperty('maps', $maps); |
|
| 797 | } |
|
| 798 | ||
| 799 | /** |
|
| 800 | * The total number of individuals that may attend an event or venue. |
|
| 801 | * |
|
| 802 | * @param int|int[] $maximumAttendeeCapacity |
|
| 803 | * |
|
| 804 | * @return static |
|
| 805 | * |
|
| 806 | * @see http://schema.org/maximumAttendeeCapacity |
|
| 807 | */ |
|
| 808 | public function maximumAttendeeCapacity($maximumAttendeeCapacity) |
|
| 809 | { |
|
| 810 | return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity); |
|
| 811 | } |
|
| 812 | ||
| 813 | /** |
|
| 814 | * A member of an Organization or a ProgramMembership. Organizations can be |
|
| 815 | * members of organizations; ProgramMembership is typically for individuals. |
|
| 816 | * |
|
| 817 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member |
|
| 818 | * |
|
| 819 | * @return static |
|
| 820 | * |
|
| 821 | * @see http://schema.org/member |
|
| 822 | */ |
|
| 823 | public function member($member) |
|
| 824 | { |
|
| 825 | return $this->setProperty('member', $member); |
|
| 826 | } |
|
| 827 | ||
| 828 | /** |
|
| 829 | * An Organization (or ProgramMembership) to which this Person or |
|
| 830 | * Organization belongs. |
|
| 831 | * |
|
| 832 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf |
|
| 833 | * |
|
| 834 | * @return static |
|
| 835 | * |
|
| 836 | * @see http://schema.org/memberOf |
|
| 837 | */ |
|
| 838 | public function memberOf($memberOf) |
|
| 839 | { |
|
| 840 | return $this->setProperty('memberOf', $memberOf); |
|
| 841 | } |
|
| 842 | ||
| 843 | /** |
|
| 844 | * A member of this organization. |
|
| 845 | * |
|
| 846 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members |
|
| 847 | * |
|
| 848 | * @return static |
|
| 849 | * |
|
| 850 | * @see http://schema.org/members |
|
| 851 | */ |
|
| 852 | public function members($members) |
|
| 853 | { |
|
| 854 | return $this->setProperty('members', $members); |
|
| 855 | } |
|
| 856 | ||
| 857 | /** |
|
| 858 | * The North American Industry Classification System (NAICS) code for a |
|
| 859 | * particular organization or business person. |
|
| 860 | * |
|
| 861 | * @param string|string[] $naics |
|
| 862 | * |
|
| 863 | * @return static |
|
| 864 | * |
|
| 865 | * @see http://schema.org/naics |
|
| 866 | */ |
|
| 867 | public function naics($naics) |
|
| 868 | { |
|
| 869 | return $this->setProperty('naics', $naics); |
|
| 870 | } |
|
| 871 | ||
| 872 | /** |
|
| 873 | * The name of the item. |
|
| 874 | * |
|
| 875 | * @param string|string[] $name |
|
| 876 | * |
|
| 877 | * @return static |
|
| 878 | * |
|
| 879 | * @see http://schema.org/name |
|
| 880 | */ |
|
| 881 | public function name($name) |
|
| 882 | { |
|
| 883 | return $this->setProperty('name', $name); |
|
| 884 | } |
|
| 885 | ||
| 886 | /** |
|
| 887 | * The number of employees in an organization e.g. business. |
|
| 888 | * |
|
| 889 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees |
|
| 890 | * |
|
| 891 | * @return static |
|
| 892 | * |
|
| 893 | * @see http://schema.org/numberOfEmployees |
|
| 894 | */ |
|
| 895 | public function numberOfEmployees($numberOfEmployees) |
|
| 896 | { |
|
| 897 | return $this->setProperty('numberOfEmployees', $numberOfEmployees); |
|
| 898 | } |
|
| 899 | ||
| 900 | /** |
|
| 901 | * A pointer to the organization or person making the offer. |
|
| 902 | * |
|
| 903 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy |
|
| 904 | * |
|
| 905 | * @return static |
|
| 906 | * |
|
| 907 | * @see http://schema.org/offeredBy |
|
| 908 | */ |
|
| 909 | public function offeredBy($offeredBy) |
|
| 910 | { |
|
| 911 | return $this->setProperty('offeredBy', $offeredBy); |
|
| 912 | } |
|
| 913 | ||
| 914 | /** |
|
| 915 | * The general opening hours for a business. Opening hours can be specified |
|
| 916 | * as a weekly time range, starting with days, then times per day. Multiple |
|
| 917 | * days can be listed with commas ',' separating each day. Day or time |
|
| 918 | * ranges are specified using a hyphen '-'. |
|
| 919 | * |
|
| 920 | * * Days are specified using the following two-letter combinations: |
|
| 921 | * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. |
|
| 922 | * * Times are specified using 24:00 time. For example, 3pm is specified as |
|
| 923 | * ```15:00```. |
|
| 924 | * * Here is an example: <code><time itemprop="openingHours" |
|
| 925 | * datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays |
|
| 926 | * 4-8pm</time></code>. |
|
| 927 | * * If a business is open 7 days a week, then it can be specified as |
|
| 928 | * <code><time itemprop="openingHours" |
|
| 929 | * datetime="Mo-Su">Monday through Sunday, all |
|
| 930 | * day</time></code>. |
|
| 931 | * |
|
| 932 | * @param string|string[] $openingHours |
|
| 933 | * |
|
| 934 | * @return static |
|
| 935 | * |
|
| 936 | * @see http://schema.org/openingHours |
|
| 937 | */ |
|
| 938 | public function openingHours($openingHours) |
|
| 939 | { |
|
| 940 | return $this->setProperty('openingHours', $openingHours); |
|
| 941 | } |
|
| 942 | ||
| 943 | /** |
|
| 944 | * The opening hours of a certain place. |
|
| 945 | * |
|
| 946 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification |
|
| 947 | * |
|
| 948 | * @return static |
|
| 949 | * |
|
| 950 | * @see http://schema.org/openingHoursSpecification |
|
| 951 | */ |
|
| 952 | public function openingHoursSpecification($openingHoursSpecification) |
|
| 953 | { |
|
| 954 | return $this->setProperty('openingHoursSpecification', $openingHoursSpecification); |
|
| 955 | } |
|
| 956 | ||
| 957 | /** |
|
| 958 | * Products owned by the organization or person. |
|
| 959 | * |
|
| 960 | * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns |
|
| 961 | * |
|
| 962 | * @return static |
|
| 963 | * |
|
| 964 | * @see http://schema.org/owns |
|
| 965 | */ |
|
| 966 | public function owns($owns) |
|
| 967 | { |
|
| 968 | return $this->setProperty('owns', $owns); |
|
| 969 | } |
|
| 970 | ||
| 971 | /** |
|
| 972 | * The larger organization that this organization is a [[subOrganization]] |
|
| 973 | * of, if any. |
|
| 974 | * |
|
| 975 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization |
|
| 976 | * |
|
| 977 | * @return static |
|
| 978 | * |
|
| 979 | * @see http://schema.org/parentOrganization |
|
| 980 | */ |
|
| 981 | public function parentOrganization($parentOrganization) |
|
| 982 | { |
|
| 983 | return $this->setProperty('parentOrganization', $parentOrganization); |
|
| 984 | } |
|
| 985 | ||
| 986 | /** |
|
| 987 | * A photograph of this place. |
|
| 988 | * |
|
| 989 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo |
|
| 990 | * |
|
| 991 | * @return static |
|
| 992 | * |
|
| 993 | * @see http://schema.org/photo |
|
| 994 | */ |
|
| 995 | public function photo($photo) |
|
| 996 | { |
|
| 997 | return $this->setProperty('photo', $photo); |
|
| 998 | } |
|
| 999 | ||
| 1000 | /** |
|
| 1001 | * Photographs of this place. |
|
| 1002 | * |
|
| 1003 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos |
|
| 1004 | * |
|
| 1005 | * @return static |
|
| 1006 | * |
|
| 1007 | * @see http://schema.org/photos |
|
| 1008 | */ |
|
| 1009 | public function photos($photos) |
|
| 1010 | { |
|
| 1011 | return $this->setProperty('photos', $photos); |
|
| 1012 | } |
|
| 1013 | ||
| 1014 | /** |
|
| 1015 | * Indicates a potential Action, which describes an idealized action in |
|
| 1016 | * which this thing would play an 'object' role. |
|
| 1017 | * |
|
| 1018 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
| 1019 | * |
|
| 1020 | * @return static |
|
| 1021 | * |
|
| 1022 | * @see http://schema.org/potentialAction |
|
| 1023 | */ |
|
| 1024 | public function potentialAction($potentialAction) |
|
| 1025 | { |
|
| 1026 | return $this->setProperty('potentialAction', $potentialAction); |
|
| 1027 | } |
|
| 1028 | ||
| 1029 | /** |
|
| 1030 | * A flag to signal that the [[Place]] is open to public visitors. If this |
|
| 1031 | * property is omitted there is no assumed default boolean value |
|
| 1032 | * |
|
| 1033 | * @param bool|bool[] $publicAccess |
|
| 1034 | * |
|
| 1035 | * @return static |
|
| 1036 | * |
|
| 1037 | * @see http://schema.org/publicAccess |
|
| 1038 | */ |
|
| 1039 | public function publicAccess($publicAccess) |
|
| 1040 | { |
|
| 1041 | return $this->setProperty('publicAccess', $publicAccess); |
|
| 1042 | } |
|
| 1043 | ||
| 1044 | /** |
|
| 1045 | * The publishingPrinciples property indicates (typically via [[URL]]) a |
|
| 1046 | * document describing the editorial principles of an [[Organization]] (or |
|
| 1047 | * individual e.g. a [[Person]] writing a blog) that relate to their |
|
| 1048 | * activities as a publisher, e.g. ethics or diversity policies. When |
|
| 1049 | * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are |
|
| 1050 | * those of the party primarily responsible for the creation of the |
|
| 1051 | * [[CreativeWork]]. |
|
| 1052 | * |
|
| 1053 | * While such policies are most typically expressed in natural language, |
|
| 1054 | * sometimes related information (e.g. indicating a [[funder]]) can be |
|
| 1055 | * expressed using schema.org terminology. |
|
| 1056 | * |
|
| 1057 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples |
|
| 1058 | * |
|
| 1059 | * @return static |
|
| 1060 | * |
|
| 1061 | * @see http://schema.org/publishingPrinciples |
|
| 1062 | */ |
|
| 1063 | public function publishingPrinciples($publishingPrinciples) |
|
| 1064 | { |
|
| 1065 | return $this->setProperty('publishingPrinciples', $publishingPrinciples); |
|
| 1066 | } |
|
| 1067 | ||
| 1068 | /** |
|
| 1069 | * A review of the item. |
|
| 1070 | * |
|
| 1071 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review |
|
| 1072 | * |
|
| 1073 | * @return static |
|
| 1074 | * |
|
| 1075 | * @see http://schema.org/review |
|
| 1076 | */ |
|
| 1077 | public function review($review) |
|
| 1078 | { |
|
| 1079 | return $this->setProperty('review', $review); |
|
| 1080 | } |
|
| 1081 | ||
| 1082 | /** |
|
| 1083 | * Review of the item. |
|
| 1084 | * |
|
| 1085 | * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews |
|
| 1086 | * |
|
| 1087 | * @return static |
|
| 1088 | * |
|
| 1089 | * @see http://schema.org/reviews |
|
| 1090 | */ |
|
| 1091 | public function reviews($reviews) |
|
| 1092 | { |
|
| 1093 | return $this->setProperty('reviews', $reviews); |
|
| 1094 | } |
|
| 1095 | ||
| 1096 | /** |
|
| 1097 | * URL of a reference Web page that unambiguously indicates the item's |
|
| 1098 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
| 1099 | * official website. |
|
| 1100 | * |
|
| 1101 | * @param string|string[] $sameAs |
|
| 1102 | * |
|
| 1103 | * @return static |
|
| 1104 | * |
|
| 1105 | * @see http://schema.org/sameAs |
|
| 1106 | */ |
|
| 1107 | public function sameAs($sameAs) |
|
| 1108 | { |
|
| 1109 | return $this->setProperty('sameAs', $sameAs); |
|
| 1110 | } |
|
| 1111 | ||
| 1112 | /** |
|
| 1113 | * A pointer to products or services sought by the organization or person |
|
| 1114 | * (demand). |
|
| 1115 | * |
|
| 1116 | * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks |
|
| 1117 | * |
|
| 1118 | * @return static |
|
| 1119 | * |
|
| 1120 | * @see http://schema.org/seeks |
|
| 1121 | */ |
|
| 1122 | public function seeks($seeks) |
|
| 1123 | { |
|
| 1124 | return $this->setProperty('seeks', $seeks); |
|
| 1125 | } |
|
| 1126 | ||
| 1127 | /** |
|
| 1128 | * The geographic area where the service is provided. |
|
| 1129 | * |
|
| 1130 | * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea |
|
| 1131 | * |
|
| 1132 | * @return static |
|
| 1133 | * |
|
| 1134 | * @see http://schema.org/serviceArea |
|
| 1135 | */ |
|
| 1136 | public function serviceArea($serviceArea) |
|
| 1137 | { |
|
| 1138 | return $this->setProperty('serviceArea', $serviceArea); |
|
| 1139 | } |
|
| 1140 | ||
| 1141 | /** |
|
| 1142 | * A slogan or motto associated with the item. |
|
| 1143 | * |
|
| 1144 | * @param string|string[] $slogan |
|
| 1145 | * |
|
| 1146 | * @return static |
|
| 1147 | * |
|
| 1148 | * @see http://schema.org/slogan |
|
| 1149 | */ |
|
| 1150 | public function slogan($slogan) |
|
| 1151 | { |
|
| 1152 | return $this->setProperty('slogan', $slogan); |
|
| 1153 | } |
|
| 1154 | ||
| 1155 | /** |
|
| 1156 | * Indicates whether it is allowed to smoke in the place, e.g. in the |
|
| 1157 | * restaurant, hotel or hotel room. |
|
| 1158 | * |
|
| 1159 | * @param bool|bool[] $smokingAllowed |
|
| 1160 | * |
|
| 1161 | * @return static |
|
| 1162 | * |
|
| 1163 | * @see http://schema.org/smokingAllowed |
|
| 1164 | */ |
|
| 1165 | public function smokingAllowed($smokingAllowed) |
|
| 1166 | { |
|
| 1167 | return $this->setProperty('smokingAllowed', $smokingAllowed); |
|
| 1168 | } |
|
| 1169 | ||
| 1170 | /** |
|
| 1171 | * The special opening hours of a certain place. |
|
| 1172 | * |
|
| 1173 | * Use this to explicitly override general opening hours brought in scope by |
|
| 1174 | * [[openingHoursSpecification]] or [[openingHours]]. |
|
| 1175 | * |
|
| 1176 | * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification |
|
| 1177 | * |
|
| 1178 | * @return static |
|
| 1179 | * |
|
| 1180 | * @see http://schema.org/specialOpeningHoursSpecification |
|
| 1181 | */ |
|
| 1182 | public function specialOpeningHoursSpecification($specialOpeningHoursSpecification) |
|
| 1183 | { |
|
| 1184 | return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification); |
|
| 1185 | } |
|
| 1186 | ||
| 1187 | /** |
|
| 1188 | * A person or organization that supports a thing through a pledge, promise, |
|
| 1189 | * or financial contribution. e.g. a sponsor of a Medical Study or a |
|
| 1190 | * corporate sponsor of an event. |
|
| 1191 | * |
|
| 1192 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor |
|
| 1193 | * |
|
| 1194 | * @return static |
|
| 1195 | * |
|
| 1196 | * @see http://schema.org/sponsor |
|
| 1197 | */ |
|
| 1198 | public function sponsor($sponsor) |
|
| 1199 | { |
|
| 1200 | return $this->setProperty('sponsor', $sponsor); |
|
| 1201 | } |
|
| 1202 | ||
| 1203 | /** |
|
| 1204 | * A relationship between two organizations where the first includes the |
|
| 1205 | * second, e.g., as a subsidiary. See also: the more specific 'department' |
|
| 1206 | * property. |
|
| 1207 | * |
|
| 1208 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization |
|
| 1209 | * |
|
| 1210 | * @return static |
|
| 1211 | * |
|
| 1212 | * @see http://schema.org/subOrganization |
|
| 1213 | */ |
|
| 1214 | public function subOrganization($subOrganization) |
|
| 1215 | { |
|
| 1216 | return $this->setProperty('subOrganization', $subOrganization); |
|
| 1217 | } |
|
| 1218 | ||
| 1219 | /** |
|
| 1220 | * A CreativeWork or Event about this Thing. |
|
| 1221 | * |
|
| 1222 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
| 1223 | * |
|
| 1224 | * @return static |
|
| 1225 | * |
|
| 1226 | * @see http://schema.org/subjectOf |
|
| 1227 | */ |
|
| 1228 | public function subjectOf($subjectOf) |
|
| 1229 | { |
|
| 1230 | return $this->setProperty('subjectOf', $subjectOf); |
|
| 1231 | } |
|
| 1232 | ||
| 1233 | /** |
|
| 1234 | * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US |
|
| 1235 | * or the CIF/NIF in Spain. |
|
| 1236 | * |
|
| 1237 | * @param string|string[] $taxID |
|
| 1238 | * |
|
| 1239 | * @return static |
|
| 1240 | * |
|
| 1241 | * @see http://schema.org/taxID |
|
| 1242 | */ |
|
| 1243 | public function taxID($taxID) |
|
| 1244 | { |
|
| 1245 | return $this->setProperty('taxID', $taxID); |
|
| 1246 | } |
|
| 1247 | ||
| 1248 | /** |
|
| 1249 | * The telephone number. |
|
| 1250 | * |
|
| 1251 | * @param string|string[] $telephone |
|
| 1252 | * |
|
| 1253 | * @return static |
|
| 1254 | * |
|
| 1255 | * @see http://schema.org/telephone |
|
| 1256 | */ |
|
| 1257 | public function telephone($telephone) |
|
| 1258 | { |
|
| 1259 | return $this->setProperty('telephone', $telephone); |
|
| 1260 | } |
|
| 1261 | ||
| 1262 | /** |
|
| 1263 | * URL of the item. |
|
| 1264 | * |
|
| 1265 | * @param string|string[] $url |
|
| 1266 | * |
|
| 1267 | * @return static |
|
| 1268 | * |
|
| 1269 | * @see http://schema.org/url |
|
| 1270 | */ |
|
| 1271 | public function url($url) |
|
| 1272 | { |
|
| 1273 | return $this->setProperty('url', $url); |
|
| 1274 | } |
|
| 1275 | ||
| 1276 | /** |
|
| 1277 | * The Value-added Tax ID of the organization or person. |
|
| 1278 | * |
|
| 1279 | * @param string|string[] $vatID |
|
| 1280 | * |
|
| 1281 | * @return static |
|
| 1282 | * |
|
| 1283 | * @see http://schema.org/vatID |
|
| 1284 | */ |
|
| 1285 | public function vatID($vatID) |
|
| 1286 | { |
|
| 1287 | return $this->setProperty('vatID', $vatID); |
|
| 1288 | } |
|
| 1289 | ||
| 1290 | } |
|
| 1291 | ||