code
stringlengths 17
296k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function translationOfWork($translationOfWork)
{
return $this->setProperty('translationOfWork', $translationOfWork);
} | The work that this work has been translated from. E.g. 物种起源 is a
translationOf “On the Origin of Species”.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $translationOfWork
@return static
@see https://schema.org/translationOfWork
@see https://bib.schema.org | translationOfWork | php | spatie/schema-org | src/SatiricalArticle.php | https://github.com/spatie/schema-org/blob/master/src/SatiricalArticle.php | MIT |
public function translator($translator)
{
return $this->setProperty('translator', $translator);
} | Organization or person who adapts a creative work to different languages,
regional differences and technical requirements of a target market, or
that translates during some event.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $translator
@return static
@see https://schema.org/translator | translator | php | spatie/schema-org | src/SatiricalArticle.php | https://github.com/spatie/schema-org/blob/master/src/SatiricalArticle.php | MIT |
public function typicalAgeRange($typicalAgeRange)
{
return $this->setProperty('typicalAgeRange', $typicalAgeRange);
} | The typical expected age range, e.g. '7-9', '11-'.
@param string|string[] $typicalAgeRange
@return static
@see https://schema.org/typicalAgeRange | typicalAgeRange | php | spatie/schema-org | src/SatiricalArticle.php | https://github.com/spatie/schema-org/blob/master/src/SatiricalArticle.php | MIT |
public function usageInfo($usageInfo)
{
return $this->setProperty('usageInfo', $usageInfo);
} | The schema.org [[usageInfo]] property indicates further information about
a [[CreativeWork]]. This property is applicable both to works that are
freely available and to those that require payment or other transactions.
It can reference additional information, e.g. community expectations on
preferred linking and citation conventions, as well as purchasing
details. For something that can be commercially licensed, usageInfo can
provide detailed, resource-specific information about licensing options.
This property can be used alongside the license property which indicates
license(s) applicable to some piece of content. The usageInfo property
can provide information about other licensing options, e.g. acquiring
commercial usage rights for an image that is also available under
non-commercial creative commons licenses.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $usageInfo
@return static
@see https://schema.org/usageInfo
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2454 | usageInfo | php | spatie/schema-org | src/SatiricalArticle.php | https://github.com/spatie/schema-org/blob/master/src/SatiricalArticle.php | MIT |
public function version($version)
{
return $this->setProperty('version', $version);
} | The version of the CreativeWork embodied by a specified resource.
@param float|float[]|int|int[]|string|string[] $version
@return static
@see https://schema.org/version | version | php | spatie/schema-org | src/SatiricalArticle.php | https://github.com/spatie/schema-org/blob/master/src/SatiricalArticle.php | MIT |
public function wordCount($wordCount)
{
return $this->setProperty('wordCount', $wordCount);
} | The number of words in the text of the Article.
@param int|int[] $wordCount
@return static
@see https://schema.org/wordCount | wordCount | php | spatie/schema-org | src/SatiricalArticle.php | https://github.com/spatie/schema-org/blob/master/src/SatiricalArticle.php | MIT |
public function workExample($workExample)
{
return $this->setProperty('workExample', $workExample);
} | Example/instance/realization/derivation of the concept of this creative
work. E.g. the paperback edition, first edition, or e-book.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workExample
@return static
@see https://schema.org/workExample | workExample | php | spatie/schema-org | src/SatiricalArticle.php | https://github.com/spatie/schema-org/blob/master/src/SatiricalArticle.php | MIT |
public function workTranslation($workTranslation)
{
return $this->setProperty('workTranslation', $workTranslation);
} | A work that is a translation of the content of this work. E.g. 西遊記
has an English workTranslation “Journey to the West”, a German
workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation
Tây du ký bình khảo.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workTranslation
@return static
@see https://schema.org/workTranslation
@see https://bib.schema.org | workTranslation | php | spatie/schema-org | src/SatiricalArticle.php | https://github.com/spatie/schema-org/blob/master/src/SatiricalArticle.php | MIT |
public function additionalProperty($additionalProperty)
{
return $this->setProperty('additionalProperty', $additionalProperty);
} | A property-value pair representing an additional characteristic of the
entity, e.g. a product feature or another characteristic for which there
is no matching property in schema.org.
Note: Publishers should be aware that applications designed to use
specific schema.org properties (e.g. https://schema.org/width,
https://schema.org/color, https://schema.org/gtin13, ...) will typically
expect such data to be provided using those properties, rather than using
the generic property/value mechanism.
@param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty
@return static
@see https://schema.org/additionalProperty | additionalProperty | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function additionalType($additionalType)
{
return $this->setProperty('additionalType', $additionalType);
} | An additional type for the item, typically used for adding more specific
types from external vocabularies in microdata syntax. This is a
relationship between something and a class that the thing is in.
Typically the value is a URI-identified RDF class, and in this case
corresponds to the
use of rdf:type in RDF. Text values can be used sparingly, for cases
where useful information can be added without their being an appropriate
schema to reference. In the case of text values, the class label should
follow the schema.org [style
guide](https://schema.org/docs/styleguide.html).
@param string|string[] $additionalType
@return static
@see https://schema.org/additionalType | additionalType | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function aggregateRating($aggregateRating)
{
return $this->setProperty('aggregateRating', $aggregateRating);
} | The overall rating, based on a collection of reviews or ratings, of the
item.
@param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating
@return static
@see https://schema.org/aggregateRating | aggregateRating | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function amenityFeature($amenityFeature)
{
return $this->setProperty('amenityFeature', $amenityFeature);
} | An amenity feature (e.g. a characteristic or service) of the
Accommodation. This generic property does not make a statement about
whether the feature is included in an offer for the main accommodation or
available at extra costs.
@param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature
@return static
@see https://schema.org/amenityFeature | amenityFeature | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function branchCode($branchCode)
{
return $this->setProperty('branchCode', $branchCode);
} | A short textual code (also called "store code") that uniquely identifies
a place of business. The code is typically assigned by the
parentOrganization and used in structured URLs.
For example, in the URL
http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047"
is a branchCode for a particular branch.
@param string|string[] $branchCode
@return static
@see https://schema.org/branchCode | branchCode | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function containedIn($containedIn)
{
return $this->setProperty('containedIn', $containedIn);
} | The basic containment relation between a place and one that contains it.
@param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn
@return static
@see https://schema.org/containedIn | containedIn | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function containedInPlace($containedInPlace)
{
return $this->setProperty('containedInPlace', $containedInPlace);
} | The basic containment relation between a place and one that contains it.
@param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace
@return static
@see https://schema.org/containedInPlace | containedInPlace | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function containsPlace($containsPlace)
{
return $this->setProperty('containsPlace', $containsPlace);
} | The basic containment relation between a place and another that it
contains.
@param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace
@return static
@see https://schema.org/containsPlace | containsPlace | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function disambiguatingDescription($disambiguatingDescription)
{
return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
} | A sub property of description. A short description of the item used to
disambiguate from other, similar items. Information from other properties
(in particular, name) may be necessary for the description to be useful
for disambiguation.
@param string|string[] $disambiguatingDescription
@return static
@see https://schema.org/disambiguatingDescription | disambiguatingDescription | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function event($event)
{
return $this->setProperty('event', $event);
} | Upcoming or past event associated with this place, organization, or
action.
@param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event
@return static
@see https://schema.org/event | event | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function events($events)
{
return $this->setProperty('events', $events);
} | Upcoming or past events associated with this place or organization.
@param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events
@return static
@see https://schema.org/events | events | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geo($geo)
{
return $this->setProperty('geo', $geo);
} | The geo coordinates of the place.
@param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo
@return static
@see https://schema.org/geo | geo | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoContains($geoContains)
{
return $this->setProperty('geoContains', $geoContains);
} | Represents a relationship between two geometries (or the places they
represent), relating a containing geometry to a contained geometry. "a
contains b iff no points of b lie in the exterior of a, and at least one
point of the interior of b lies in the interior of a". As defined in
[DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoContains
@return static
@see https://schema.org/geoContains | geoContains | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoCoveredBy($geoCoveredBy)
{
return $this->setProperty('geoCoveredBy', $geoCoveredBy);
} | Represents a relationship between two geometries (or the places they
represent), relating a geometry to another that covers it. As defined in
[DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoCoveredBy
@return static
@see https://schema.org/geoCoveredBy | geoCoveredBy | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoCovers($geoCovers)
{
return $this->setProperty('geoCovers', $geoCovers);
} | Represents a relationship between two geometries (or the places they
represent), relating a covering geometry to a covered geometry. "Every
point of b is a point of (the interior or boundary of) a". As defined in
[DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoCovers
@return static
@see https://schema.org/geoCovers | geoCovers | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoCrosses($geoCrosses)
{
return $this->setProperty('geoCrosses', $geoCrosses);
} | Represents a relationship between two geometries (or the places they
represent), relating a geometry to another that crosses it: "a crosses b:
they have some but not all interior points in common, and the dimension
of the intersection is less than that of at least one of them". As
defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoCrosses
@return static
@see https://schema.org/geoCrosses | geoCrosses | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoDisjoint($geoDisjoint)
{
return $this->setProperty('geoDisjoint', $geoDisjoint);
} | Represents spatial relations in which two geometries (or the places they
represent) are topologically disjoint: "they have no point in common.
They form a set of disconnected geometries." (A symmetric relationship,
as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoDisjoint
@return static
@see https://schema.org/geoDisjoint | geoDisjoint | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoEquals($geoEquals)
{
return $this->setProperty('geoEquals', $geoEquals);
} | Represents spatial relations in which two geometries (or the places they
represent) are topologically equal, as defined in
[DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are
topologically equal if their interiors intersect and no part of the
interior or boundary of one geometry intersects the exterior of the
other" (a symmetric relationship).
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoEquals
@return static
@see https://schema.org/geoEquals | geoEquals | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoIntersects($geoIntersects)
{
return $this->setProperty('geoIntersects', $geoIntersects);
} | Represents spatial relations in which two geometries (or the places they
represent) have at least one point in common. As defined in
[DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoIntersects
@return static
@see https://schema.org/geoIntersects | geoIntersects | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoOverlaps($geoOverlaps)
{
return $this->setProperty('geoOverlaps', $geoOverlaps);
} | Represents a relationship between two geometries (or the places they
represent), relating a geometry to another that geospatially overlaps it,
i.e. they have some but not all points in common. As defined in
[DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoOverlaps
@return static
@see https://schema.org/geoOverlaps | geoOverlaps | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoTouches($geoTouches)
{
return $this->setProperty('geoTouches', $geoTouches);
} | Represents spatial relations in which two geometries (or the places they
represent) touch: "they have at least one boundary point in common, but
no interior points." (A symmetric relationship, as defined in
[DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoTouches
@return static
@see https://schema.org/geoTouches | geoTouches | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function geoWithin($geoWithin)
{
return $this->setProperty('geoWithin', $geoWithin);
} | Represents a relationship between two geometries (or the places they
represent), relating a geometry to one that contains it, i.e. it is
inside (i.e. within) its interior. As defined in
[DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).
@param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoWithin
@return static
@see https://schema.org/geoWithin | geoWithin | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function globalLocationNumber($globalLocationNumber)
{
return $this->setProperty('globalLocationNumber', $globalLocationNumber);
} | The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also
referred to as International Location Number or ILN) of the respective
organization, person, or place. The GLN is a 13-digit number used to
identify parties and physical locations.
@param string|string[] $globalLocationNumber
@return static
@see https://schema.org/globalLocationNumber | globalLocationNumber | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function hasCertification($hasCertification)
{
return $this->setProperty('hasCertification', $hasCertification);
} | Certification information about a product, organization, service, place,
or person.
@param \Spatie\SchemaOrg\Contracts\CertificationContract|\Spatie\SchemaOrg\Contracts\CertificationContract[] $hasCertification
@return static
@see https://schema.org/hasCertification
@link https://github.com/schemaorg/schemaorg/issues/3230 | hasCertification | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function hasDriveThroughService($hasDriveThroughService)
{
return $this->setProperty('hasDriveThroughService', $hasDriveThroughService);
} | Indicates whether some facility (e.g. [[FoodEstablishment]],
[[CovidTestingFacility]]) offers a service that can be used by driving
through in a car. In the case of [[CovidTestingFacility]] such facilities
could potentially help with social distancing from other
potentially-infected users.
@param bool|bool[] $hasDriveThroughService
@return static
@see https://schema.org/hasDriveThroughService
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2490 | hasDriveThroughService | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function hasGS1DigitalLink($hasGS1DigitalLink)
{
return $this->setProperty('hasGS1DigitalLink', $hasGS1DigitalLink);
} | The [GS1 digital link](https://www.gs1.org/standards/gs1-digital-link)
associated with the object. This URL should conform to the particular
requirements of digital links. The link should only contain the
Application Identifiers (AIs) that are relevant for the entity being
annotated, for instance a [[Product]] or an [[Organization]], and for the
correct granularity. In particular, for products:<ul>* A Digital Link
that contains a serial number (AI ```21```) should only be present on
instances of [[IndividualProduct]]* A Digital Link that contains a lot
number (AI ```10```) should be annotated as [[SomeProduct]] if only
products from that lot are sold, or [[IndividualProduct]] if there is
only a specific product.* A Digital Link that contains a global model
number (AI ```8013```) should be attached to a [[Product]] or a
[[ProductModel]]. Other item types should be adapted similarly.
@param string|string[] $hasGS1DigitalLink
@return static
@see https://schema.org/hasGS1DigitalLink
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/3475 | hasGS1DigitalLink | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function identifier($identifier)
{
return $this->setProperty('identifier', $identifier);
} | The identifier property represents any kind of identifier for any kind of
[[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
dedicated properties for representing many of these, either as textual
strings or as URL (URI) links. See [background
notes](/docs/datamodel.html#identifierBg) for more details.
@param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
@return static
@see https://schema.org/identifier | identifier | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function image($image)
{
return $this->setProperty('image', $image);
} | An image of the item. This can be a [[URL]] or a fully described
[[ImageObject]].
@param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
@return static
@see https://schema.org/image | image | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function isAccessibleForFree($isAccessibleForFree)
{
return $this->setProperty('isAccessibleForFree', $isAccessibleForFree);
} | A flag to signal that the item, event, or place is accessible for free.
@param bool|bool[] $isAccessibleForFree
@return static
@see https://schema.org/isAccessibleForFree | isAccessibleForFree | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function isicV4($isicV4)
{
return $this->setProperty('isicV4', $isicV4);
} | The International Standard of Industrial Classification of All Economic
Activities (ISIC), Revision 4 code for a particular organization,
business person, or place.
@param string|string[] $isicV4
@return static
@see https://schema.org/isicV4 | isicV4 | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function keywords($keywords)
{
return $this->setProperty('keywords', $keywords);
} | Keywords or tags used to describe some item. Multiple textual entries in
a keywords list are typically delimited by commas, or by repeating the
property.
@param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $keywords
@return static
@see https://schema.org/keywords | keywords | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function latitude($latitude)
{
return $this->setProperty('latitude', $latitude);
} | The latitude of a location. For example ```37.42242``` ([WGS
84](https://en.wikipedia.org/wiki/World_Geodetic_System)).
@param float|float[]|int|int[]|string|string[] $latitude
@return static
@see https://schema.org/latitude | latitude | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function longitude($longitude)
{
return $this->setProperty('longitude', $longitude);
} | The longitude of a location. For example ```-122.08585``` ([WGS
84](https://en.wikipedia.org/wiki/World_Geodetic_System)).
@param float|float[]|int|int[]|string|string[] $longitude
@return static
@see https://schema.org/longitude | longitude | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function mainEntityOfPage($mainEntityOfPage)
{
return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
} | Indicates a page (or other CreativeWork) for which this thing is the main
entity being described. See [background
notes](/docs/datamodel.html#mainEntityBackground) for details.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
@return static
@see https://schema.org/mainEntityOfPage | mainEntityOfPage | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function maximumAttendeeCapacity($maximumAttendeeCapacity)
{
return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity);
} | The total number of individuals that may attend an event or venue.
@param int|int[] $maximumAttendeeCapacity
@return static
@see https://schema.org/maximumAttendeeCapacity | maximumAttendeeCapacity | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function openingHoursSpecification($openingHoursSpecification)
{
return $this->setProperty('openingHoursSpecification', $openingHoursSpecification);
} | The opening hours of a certain place.
@param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification
@return static
@see https://schema.org/openingHoursSpecification | openingHoursSpecification | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function potentialAction($potentialAction)
{
return $this->setProperty('potentialAction', $potentialAction);
} | Indicates a potential Action, which describes an idealized action in
which this thing would play an 'object' role.
@param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
@return static
@see https://schema.org/potentialAction | potentialAction | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function publicAccess($publicAccess)
{
return $this->setProperty('publicAccess', $publicAccess);
} | A flag to signal that the [[Place]] is open to public visitors. If this
property is omitted there is no assumed default boolean value.
@param bool|bool[] $publicAccess
@return static
@see https://schema.org/publicAccess | publicAccess | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function sameAs($sameAs)
{
return $this->setProperty('sameAs', $sameAs);
} | URL of a reference Web page that unambiguously indicates the item's
identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
official website.
@param string|string[] $sameAs
@return static
@see https://schema.org/sameAs | sameAs | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function slogan($slogan)
{
return $this->setProperty('slogan', $slogan);
} | A slogan or motto associated with the item.
@param string|string[] $slogan
@return static
@see https://schema.org/slogan | slogan | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function smokingAllowed($smokingAllowed)
{
return $this->setProperty('smokingAllowed', $smokingAllowed);
} | Indicates whether it is allowed to smoke in the place, e.g. in the
restaurant, hotel or hotel room.
@param bool|bool[] $smokingAllowed
@return static
@see https://schema.org/smokingAllowed | smokingAllowed | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function subjectOf($subjectOf)
{
return $this->setProperty('subjectOf', $subjectOf);
} | A CreativeWork or Event about this Thing.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
@return static
@see https://schema.org/subjectOf
@link https://github.com/schemaorg/schemaorg/issues/1670 | subjectOf | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function tourBookingPage($tourBookingPage)
{
return $this->setProperty('tourBookingPage', $tourBookingPage);
} | A page providing information on how to book a tour of some [[Place]],
such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate
setting, as well as other kinds of tours as appropriate.
@param string|string[] $tourBookingPage
@return static
@see https://schema.org/tourBookingPage
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2373 | tourBookingPage | php | spatie/schema-org | src/SchoolDistrict.php | https://github.com/spatie/schema-org/blob/master/src/SchoolDistrict.php | MIT |
public function additionalType($additionalType)
{
return $this->setProperty('additionalType', $additionalType);
} | An additional type for the item, typically used for adding more specific
types from external vocabularies in microdata syntax. This is a
relationship between something and a class that the thing is in.
Typically the value is a URI-identified RDF class, and in this case
corresponds to the
use of rdf:type in RDF. Text values can be used sparingly, for cases
where useful information can be added without their being an appropriate
schema to reference. In the case of text values, the class label should
follow the schema.org [style
guide](https://schema.org/docs/styleguide.html).
@param string|string[] $additionalType
@return static
@see https://schema.org/additionalType | additionalType | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function carrier($carrier)
{
return $this->setProperty('carrier', $carrier);
} | 'carrier' is an out-dated term indicating the 'provider' for parcel
delivery and flights.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $carrier
@return static
@see https://schema.org/carrier | carrier | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function deliveryStatus($deliveryStatus)
{
return $this->setProperty('deliveryStatus', $deliveryStatus);
} | New entry added as the package passes through each leg of its journey
(from shipment to final delivery).
@param \Spatie\SchemaOrg\Contracts\DeliveryEventContract|\Spatie\SchemaOrg\Contracts\DeliveryEventContract[] $deliveryStatus
@return static
@see https://schema.org/deliveryStatus | deliveryStatus | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function disambiguatingDescription($disambiguatingDescription)
{
return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
} | A sub property of description. A short description of the item used to
disambiguate from other, similar items. Information from other properties
(in particular, name) may be necessary for the description to be useful
for disambiguation.
@param string|string[] $disambiguatingDescription
@return static
@see https://schema.org/disambiguatingDescription | disambiguatingDescription | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function expectedArrivalFrom($expectedArrivalFrom)
{
return $this->setProperty('expectedArrivalFrom', $expectedArrivalFrom);
} | The earliest date the package may arrive.
@param \DateTimeInterface|\DateTimeInterface[] $expectedArrivalFrom
@return static
@see https://schema.org/expectedArrivalFrom | expectedArrivalFrom | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function expectedArrivalUntil($expectedArrivalUntil)
{
return $this->setProperty('expectedArrivalUntil', $expectedArrivalUntil);
} | The latest date the package may arrive.
@param \DateTimeInterface|\DateTimeInterface[] $expectedArrivalUntil
@return static
@see https://schema.org/expectedArrivalUntil | expectedArrivalUntil | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function hasDeliveryMethod($hasDeliveryMethod)
{
return $this->setProperty('hasDeliveryMethod', $hasDeliveryMethod);
} | Method used for delivery or shipping.
@param \Spatie\SchemaOrg\Contracts\DeliveryMethodContract|\Spatie\SchemaOrg\Contracts\DeliveryMethodContract[] $hasDeliveryMethod
@return static
@see https://schema.org/hasDeliveryMethod | hasDeliveryMethod | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function identifier($identifier)
{
return $this->setProperty('identifier', $identifier);
} | The identifier property represents any kind of identifier for any kind of
[[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
dedicated properties for representing many of these, either as textual
strings or as URL (URI) links. See [background
notes](/docs/datamodel.html#identifierBg) for more details.
@param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
@return static
@see https://schema.org/identifier | identifier | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function image($image)
{
return $this->setProperty('image', $image);
} | An image of the item. This can be a [[URL]] or a fully described
[[ImageObject]].
@param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
@return static
@see https://schema.org/image | image | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function mainEntityOfPage($mainEntityOfPage)
{
return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
} | Indicates a page (or other CreativeWork) for which this thing is the main
entity being described. See [background
notes](/docs/datamodel.html#mainEntityBackground) for details.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
@return static
@see https://schema.org/mainEntityOfPage | mainEntityOfPage | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function partOfOrder($partOfOrder)
{
return $this->setProperty('partOfOrder', $partOfOrder);
} | The overall order the items in this delivery were included in.
@param \Spatie\SchemaOrg\Contracts\OrderContract|\Spatie\SchemaOrg\Contracts\OrderContract[] $partOfOrder
@return static
@see https://schema.org/partOfOrder | partOfOrder | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function potentialAction($potentialAction)
{
return $this->setProperty('potentialAction', $potentialAction);
} | Indicates a potential Action, which describes an idealized action in
which this thing would play an 'object' role.
@param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
@return static
@see https://schema.org/potentialAction | potentialAction | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function provider($provider)
{
return $this->setProperty('provider', $provider);
} | The service provider, service operator, or service performer; the goods
producer. Another party (a seller) may offer those services or goods on
behalf of the provider. A provider may also serve as the seller.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $provider
@return static
@see https://schema.org/provider
@see https://pending.schema.org | provider | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function sameAs($sameAs)
{
return $this->setProperty('sameAs', $sameAs);
} | URL of a reference Web page that unambiguously indicates the item's
identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
official website.
@param string|string[] $sameAs
@return static
@see https://schema.org/sameAs | sameAs | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function subjectOf($subjectOf)
{
return $this->setProperty('subjectOf', $subjectOf);
} | A CreativeWork or Event about this Thing.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
@return static
@see https://schema.org/subjectOf
@link https://github.com/schemaorg/schemaorg/issues/1670 | subjectOf | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function trackingUrl($trackingUrl)
{
return $this->setProperty('trackingUrl', $trackingUrl);
} | Tracking url for the parcel delivery.
@param string|string[] $trackingUrl
@return static
@see https://schema.org/trackingUrl | trackingUrl | php | spatie/schema-org | src/ParcelDelivery.php | https://github.com/spatie/schema-org/blob/master/src/ParcelDelivery.php | MIT |
public function additionalType($additionalType)
{
return $this->setProperty('additionalType', $additionalType);
} | An additional type for the item, typically used for adding more specific
types from external vocabularies in microdata syntax. This is a
relationship between something and a class that the thing is in.
Typically the value is a URI-identified RDF class, and in this case
corresponds to the
use of rdf:type in RDF. Text values can be used sparingly, for cases
where useful information can be added without their being an appropriate
schema to reference. In the case of text values, the class label should
follow the schema.org [style
guide](https://schema.org/docs/styleguide.html).
@param string|string[] $additionalType
@return static
@see https://schema.org/additionalType | additionalType | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function bookingAgent($bookingAgent)
{
return $this->setProperty('bookingAgent', $bookingAgent);
} | 'bookingAgent' is an out-dated term indicating a 'broker' that serves as
a booking agent.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $bookingAgent
@return static
@see https://schema.org/bookingAgent | bookingAgent | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function bookingTime($bookingTime)
{
return $this->setProperty('bookingTime', $bookingTime);
} | The date and time the reservation was booked.
@param \DateTimeInterface|\DateTimeInterface[] $bookingTime
@return static
@see https://schema.org/bookingTime | bookingTime | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function broker($broker)
{
return $this->setProperty('broker', $broker);
} | An entity that arranges for an exchange between a buyer and a seller. In
most cases a broker never acquires or releases ownership of a product or
service involved in an exchange. If it is not clear whether an entity is
a broker, seller, or buyer, the latter two terms are preferred.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $broker
@return static
@see https://schema.org/broker | broker | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function disambiguatingDescription($disambiguatingDescription)
{
return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
} | A sub property of description. A short description of the item used to
disambiguate from other, similar items. Information from other properties
(in particular, name) may be necessary for the description to be useful
for disambiguation.
@param string|string[] $disambiguatingDescription
@return static
@see https://schema.org/disambiguatingDescription | disambiguatingDescription | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function identifier($identifier)
{
return $this->setProperty('identifier', $identifier);
} | The identifier property represents any kind of identifier for any kind of
[[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
dedicated properties for representing many of these, either as textual
strings or as URL (URI) links. See [background
notes](/docs/datamodel.html#identifierBg) for more details.
@param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
@return static
@see https://schema.org/identifier | identifier | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function image($image)
{
return $this->setProperty('image', $image);
} | An image of the item. This can be a [[URL]] or a fully described
[[ImageObject]].
@param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
@return static
@see https://schema.org/image | image | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function mainEntityOfPage($mainEntityOfPage)
{
return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
} | Indicates a page (or other CreativeWork) for which this thing is the main
entity being described. See [background
notes](/docs/datamodel.html#mainEntityBackground) for details.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
@return static
@see https://schema.org/mainEntityOfPage | mainEntityOfPage | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function modifiedTime($modifiedTime)
{
return $this->setProperty('modifiedTime', $modifiedTime);
} | The date and time the reservation was modified.
@param \DateTimeInterface|\DateTimeInterface[] $modifiedTime
@return static
@see https://schema.org/modifiedTime | modifiedTime | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function potentialAction($potentialAction)
{
return $this->setProperty('potentialAction', $potentialAction);
} | Indicates a potential Action, which describes an idealized action in
which this thing would play an 'object' role.
@param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
@return static
@see https://schema.org/potentialAction | potentialAction | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function priceCurrency($priceCurrency)
{
return $this->setProperty('priceCurrency', $priceCurrency);
} | The currency of the price, or a price component when attached to
[[PriceSpecification]] and its subtypes.
Use standard formats: [ISO 4217 currency
format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker
symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for
cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange
Trading
Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system)
(LETS) and other currency types, e.g. "Ithaca HOUR".
@param string|string[] $priceCurrency
@return static
@see https://schema.org/priceCurrency | priceCurrency | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function programMembershipUsed($programMembershipUsed)
{
return $this->setProperty('programMembershipUsed', $programMembershipUsed);
} | Any membership in a frequent flyer, hotel loyalty program, etc. being
applied to the reservation.
@param \Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $programMembershipUsed
@return static
@see https://schema.org/programMembershipUsed | programMembershipUsed | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function provider($provider)
{
return $this->setProperty('provider', $provider);
} | The service provider, service operator, or service performer; the goods
producer. Another party (a seller) may offer those services or goods on
behalf of the provider. A provider may also serve as the seller.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $provider
@return static
@see https://schema.org/provider
@see https://pending.schema.org | provider | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function reservationFor($reservationFor)
{
return $this->setProperty('reservationFor', $reservationFor);
} | The thing -- flight, event, restaurant, etc. being reserved.
@param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $reservationFor
@return static
@see https://schema.org/reservationFor | reservationFor | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function reservationId($reservationId)
{
return $this->setProperty('reservationId', $reservationId);
} | A unique identifier for the reservation.
@param string|string[] $reservationId
@return static
@see https://schema.org/reservationId | reservationId | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function reservationStatus($reservationStatus)
{
return $this->setProperty('reservationStatus', $reservationStatus);
} | The current status of the reservation.
@param \Spatie\SchemaOrg\Contracts\ReservationStatusTypeContract|\Spatie\SchemaOrg\Contracts\ReservationStatusTypeContract[] $reservationStatus
@return static
@see https://schema.org/reservationStatus | reservationStatus | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function reservedTicket($reservedTicket)
{
return $this->setProperty('reservedTicket', $reservedTicket);
} | A ticket associated with the reservation.
@param \Spatie\SchemaOrg\Contracts\TicketContract|\Spatie\SchemaOrg\Contracts\TicketContract[] $reservedTicket
@return static
@see https://schema.org/reservedTicket | reservedTicket | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function sameAs($sameAs)
{
return $this->setProperty('sameAs', $sameAs);
} | URL of a reference Web page that unambiguously indicates the item's
identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
official website.
@param string|string[] $sameAs
@return static
@see https://schema.org/sameAs | sameAs | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function subjectOf($subjectOf)
{
return $this->setProperty('subjectOf', $subjectOf);
} | A CreativeWork or Event about this Thing.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
@return static
@see https://schema.org/subjectOf
@link https://github.com/schemaorg/schemaorg/issues/1670 | subjectOf | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function totalPrice($totalPrice)
{
return $this->setProperty('totalPrice', $totalPrice);
} | The total price for the reservation or ticket, including applicable
taxes, shipping, etc.
Usage guidelines:
* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT
NINE' (U+0039)) rather than superficially similar Unicode symbols.
* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a
decimal point. Avoid using these symbols as a readability separator.
@param \Spatie\SchemaOrg\Contracts\PriceSpecificationContract|\Spatie\SchemaOrg\Contracts\PriceSpecificationContract[]|float|float[]|int|int[]|string|string[] $totalPrice
@return static
@see https://schema.org/totalPrice | totalPrice | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function underName($underName)
{
return $this->setProperty('underName', $underName);
} | The person or organization the reservation or ticket is for.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $underName
@return static
@see https://schema.org/underName | underName | php | spatie/schema-org | src/EventReservation.php | https://github.com/spatie/schema-org/blob/master/src/EventReservation.php | MIT |
public function __construct(
protected RedisManager $redis,
protected Repository $config,
) {
//
} | Create a new Redis Ingest instance. | __construct | php | laravel/pulse | src/Ingests/RedisIngest.php | https://github.com/laravel/pulse/blob/master/src/Ingests/RedisIngest.php | MIT |
public function __construct(protected Storage $storage)
{
//
} | Create a new Storage Ingest instance. | __construct | php | laravel/pulse | src/Ingests/StorageIngest.php | https://github.com/laravel/pulse/blob/master/src/Ingests/StorageIngest.php | MIT |
public function __construct(protected Gate $gate)
{
//
} | Create a new middleware instance. | __construct | php | laravel/pulse | src/Http/Middleware/Authorize.php | https://github.com/laravel/pulse/blob/master/src/Http/Middleware/Authorize.php | MIT |
public function dehydrate()
{
if (Livewire::isLivewireRequest()) {
return;
}
Pulse::css($this->css());
} | Capture component-specific CSS.
@return void | dehydrate | php | laravel/pulse | src/Livewire/Card.php | https://github.com/laravel/pulse/blob/master/src/Livewire/Card.php | MIT |
protected function css()
{
return null;
} | Define any CSS that should be loaded for the component.
@return string|\Illuminate\Contracts\Support\Htmlable|array<int, string|\Illuminate\Contracts\Support\Htmlable>|null | css | php | laravel/pulse | src/Livewire/Card.php | https://github.com/laravel/pulse/blob/master/src/Livewire/Card.php | MIT |
public function __construct(
protected DatabaseManager $db,
protected Repository $config,
) {
//
} | Create a new Database storage instance. | __construct | php | laravel/pulse | src/Storage/DatabaseStorage.php | https://github.com/laravel/pulse/blob/master/src/Storage/DatabaseStorage.php | MIT |
public function __construct(
protected CacheManager $cache,
protected ConfigRepository $config,
) {
//
} | Create a new cache connection resolver instance. | __construct | php | laravel/pulse | src/Support/CacheStoreResolver.php | https://github.com/laravel/pulse/blob/master/src/Support/CacheStoreResolver.php | MIT |
public function __construct(
protected Pulse $pulse,
protected Repository $config,
) {
//
} | Create a new recorder instance. | __construct | php | laravel/pulse | src/Recorders/SlowQueries.php | https://github.com/laravel/pulse/blob/master/src/Recorders/SlowQueries.php | MIT |
public function __construct(
protected Pulse $pulse,
) {
//
} | Create a new recorder instance. | __construct | php | laravel/pulse | src/Recorders/CacheInteractions.php | https://github.com/laravel/pulse/blob/master/src/Recorders/CacheInteractions.php | MIT |
public function __construct(
protected Pulse $pulse,
) {
//
} | Create a new recorder instance. | __construct | php | laravel/pulse | src/Recorders/UserRequests.php | https://github.com/laravel/pulse/blob/master/src/Recorders/UserRequests.php | MIT |
public function __construct(
protected Pulse $pulse,
protected Repository $config,
) {
//
} | Create a new recorder instance. | __construct | php | laravel/pulse | src/Recorders/Queues.php | https://github.com/laravel/pulse/blob/master/src/Recorders/Queues.php | MIT |
public function __construct(
protected Pulse $pulse,
protected Repository $config
) {
//
} | Create a new recorder instance. | __construct | php | laravel/pulse | src/Recorders/Servers.php | https://github.com/laravel/pulse/blob/master/src/Recorders/Servers.php | MIT |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.