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 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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.php | MIT |
public function openingHours($openingHours)
{
return $this->setProperty('openingHours', $openingHours);
} | The general opening hours for a business. Opening hours can be specified
as a weekly time range, starting with days, then times per day. Multiple
days can be listed with commas ',' separating each day. Day or time
ranges are specified using a hyphen '-'.
* Days are specified using the following two-letter combinations:
```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```.
* Times are specified using 24:00 format. For example, 3pm is specified
as ```15:00```, 10am as ```10:00```.
* Here is an example: ```<time itemprop="openingHours" datetime="Tu,Th
16:00-20:00">Tuesdays and Thursdays 4-8pm</time>```.
* If a business is open 7 days a week, then it can be specified as
```<time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday,
all day</time>```.
@param string|string[] $openingHours
@return static
@see https://schema.org/openingHours | openingHours | php | spatie/schema-org | src/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.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/Embassy.php | https://github.com/spatie/schema-org/blob/master/src/Embassy.php | MIT |
public function about($about)
{
return $this->setProperty('about', $about);
} | The subject matter of the content.
@param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $about
@return static
@see https://schema.org/about
@link https://github.com/schemaorg/schemaorg/issues/1670 | about | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function abstract($abstract)
{
return $this->setProperty('abstract', $abstract);
} | An abstract is a short description that summarizes a [[CreativeWork]].
@param string|string[] $abstract
@return static
@see https://schema.org/abstract
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/276 | abstract | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function accessMode($accessMode)
{
return $this->setProperty('accessMode', $accessMode);
} | The human sensory perceptual system or cognitive faculty through which a
person may process or perceive information. Values should be drawn from
the [approved
vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary).
@param string|string[] $accessMode
@return static
@see https://schema.org/accessMode
@link https://github.com/schemaorg/schemaorg/issues/1100 | accessMode | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function accessModeSufficient($accessModeSufficient)
{
return $this->setProperty('accessModeSufficient', $accessModeSufficient);
} | A list of single or combined accessModes that are sufficient to
understand all the intellectual content of a resource. Values should be
drawn from the [approved
vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).
@param \Spatie\SchemaOrg\Contracts\ItemListContract|\Spatie\SchemaOrg\Contracts\ItemListContract[] $accessModeSufficient
@return static
@see https://schema.org/accessModeSufficient
@link https://github.com/schemaorg/schemaorg/issues/1100 | accessModeSufficient | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function accessibilityAPI($accessibilityAPI)
{
return $this->setProperty('accessibilityAPI', $accessibilityAPI);
} | Indicates that the resource is compatible with the referenced
accessibility API. Values should be drawn from the [approved
vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary).
@param string|string[] $accessibilityAPI
@return static
@see https://schema.org/accessibilityAPI | accessibilityAPI | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function accessibilityControl($accessibilityControl)
{
return $this->setProperty('accessibilityControl', $accessibilityControl);
} | Identifies input methods that are sufficient to fully control the
described resource. Values should be drawn from the [approved
vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary).
@param string|string[] $accessibilityControl
@return static
@see https://schema.org/accessibilityControl | accessibilityControl | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function accessibilityFeature($accessibilityFeature)
{
return $this->setProperty('accessibilityFeature', $accessibilityFeature);
} | Content features of the resource, such as accessible media, alternatives
and supported enhancements for accessibility. Values should be drawn from
the [approved
vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary).
@param string|string[] $accessibilityFeature
@return static
@see https://schema.org/accessibilityFeature | accessibilityFeature | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function accessibilityHazard($accessibilityHazard)
{
return $this->setProperty('accessibilityHazard', $accessibilityHazard);
} | A characteristic of the described resource that is physiologically
dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should
be drawn from the [approved
vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary).
@param string|string[] $accessibilityHazard
@return static
@see https://schema.org/accessibilityHazard | accessibilityHazard | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function accessibilitySummary($accessibilitySummary)
{
return $this->setProperty('accessibilitySummary', $accessibilitySummary);
} | A human-readable summary of specific accessibility features or
deficiencies, consistent with the other accessibility metadata but
expressing subtleties such as "short descriptions are present but long
descriptions will be needed for non-visual users" or "short descriptions
are present and no long descriptions are needed".
@param string|string[] $accessibilitySummary
@return static
@see https://schema.org/accessibilitySummary
@link https://github.com/schemaorg/schemaorg/issues/1100 | accessibilitySummary | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function accountablePerson($accountablePerson)
{
return $this->setProperty('accountablePerson', $accountablePerson);
} | Specifies the Person that is legally accountable for the CreativeWork.
@param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $accountablePerson
@return static
@see https://schema.org/accountablePerson | accountablePerson | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function acquireLicensePage($acquireLicensePage)
{
return $this->setProperty('acquireLicensePage', $acquireLicensePage);
} | Indicates a page documenting how licenses can be purchased or otherwise
acquired, for the current item.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $acquireLicensePage
@return static
@see https://schema.org/acquireLicensePage
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2454 | acquireLicensePage | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.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/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.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/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function alternativeHeadline($alternativeHeadline)
{
return $this->setProperty('alternativeHeadline', $alternativeHeadline);
} | A secondary title of the CreativeWork.
@param string|string[] $alternativeHeadline
@return static
@see https://schema.org/alternativeHeadline | alternativeHeadline | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function archivedAt($archivedAt)
{
return $this->setProperty('archivedAt', $archivedAt);
} | Indicates a page or other link involved in archival of a
[[CreativeWork]]. In the case of [[MediaReview]], the items in a
[[MediaReviewItem]] may often become inaccessible, but be archived by
archival, journalistic, activist, or law enforcement organizations. In
such cases, the referenced page may not directly publish the content.
@param \Spatie\SchemaOrg\Contracts\WebPageContract|\Spatie\SchemaOrg\Contracts\WebPageContract[]|string|string[] $archivedAt
@return static
@see https://schema.org/archivedAt
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2450 | archivedAt | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function assesses($assesses)
{
return $this->setProperty('assesses', $assesses);
} | The item being described is intended to assess the competency or learning
outcome defined by the referenced term.
@param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $assesses
@return static
@see https://schema.org/assesses
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2427 | assesses | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function associatedMedia($associatedMedia)
{
return $this->setProperty('associatedMedia', $associatedMedia);
} | A media object that encodes this CreativeWork. This property is a synonym
for encoding.
@param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $associatedMedia
@return static
@see https://schema.org/associatedMedia | associatedMedia | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function audience($audience)
{
return $this->setProperty('audience', $audience);
} | An intended audience, i.e. a group for whom something was created.
@param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[] $audience
@return static
@see https://schema.org/audience | audience | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function author($author)
{
return $this->setProperty('author', $author);
} | The author of this content or rating. Please note that author is special
in that HTML 5 provides a special mechanism for indicating authorship via
the rel tag. That is equivalent to this and may be used interchangeably.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $author
@return static
@see https://schema.org/author | author | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function award($award)
{
return $this->setProperty('award', $award);
} | An award won by or for this item.
@param string|string[] $award
@return static
@see https://schema.org/award | award | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function awards($awards)
{
return $this->setProperty('awards', $awards);
} | Awards won by or for this item.
@param string|string[] $awards
@return static
@see https://schema.org/awards | awards | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function character($character)
{
return $this->setProperty('character', $character);
} | Fictional person connected with a creative work.
@param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $character
@return static
@see https://schema.org/character | character | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function citation($citation)
{
return $this->setProperty('citation', $citation);
} | A citation or reference to another creative work, such as another
publication, web page, scholarly article, etc.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $citation
@return static
@see https://schema.org/citation | citation | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function comment($comment)
{
return $this->setProperty('comment', $comment);
} | Comments, typically from users.
@param \Spatie\SchemaOrg\Contracts\CommentContract|\Spatie\SchemaOrg\Contracts\CommentContract[] $comment
@return static
@see https://schema.org/comment | comment | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function commentCount($commentCount)
{
return $this->setProperty('commentCount', $commentCount);
} | The number of comments this CreativeWork (e.g. Article, Question or
Answer) has received. This is most applicable to works published in Web
sites with commenting system; additional comments may exist elsewhere.
@param int|int[] $commentCount
@return static
@see https://schema.org/commentCount | commentCount | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function conditionsOfAccess($conditionsOfAccess)
{
return $this->setProperty('conditionsOfAccess', $conditionsOfAccess);
} | Conditions that affect the availability of, or method(s) of access to, an
item. Typically used for real world items such as an [[ArchiveComponent]]
held by an [[ArchiveOrganization]]. This property is not suitable for use
as a general Web access control mechanism. It is expressed only in
natural language.
For example "Available by appointment from the Reading Room" or
"Accessible only from logged-in accounts ".
@param string|string[] $conditionsOfAccess
@return static
@see https://schema.org/conditionsOfAccess
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2173 | conditionsOfAccess | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function contentLocation($contentLocation)
{
return $this->setProperty('contentLocation', $contentLocation);
} | The location depicted or described in the content. For example, the
location in a photograph or painting.
@param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $contentLocation
@return static
@see https://schema.org/contentLocation | contentLocation | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function contentRating($contentRating)
{
return $this->setProperty('contentRating', $contentRating);
} | Official rating of a piece of content—for example, 'MPAA PG-13'.
@param \Spatie\SchemaOrg\Contracts\RatingContract|\Spatie\SchemaOrg\Contracts\RatingContract[]|string|string[] $contentRating
@return static
@see https://schema.org/contentRating | contentRating | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function contentReferenceTime($contentReferenceTime)
{
return $this->setProperty('contentReferenceTime', $contentReferenceTime);
} | The specific time described by a creative work, for works (e.g. articles,
video objects etc.) that emphasise a particular moment within an Event.
@param \DateTimeInterface|\DateTimeInterface[] $contentReferenceTime
@return static
@see https://schema.org/contentReferenceTime
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/1050 | contentReferenceTime | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function contributor($contributor)
{
return $this->setProperty('contributor', $contributor);
} | A secondary contributor to the CreativeWork or Event.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $contributor
@return static
@see https://schema.org/contributor | contributor | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function copyrightHolder($copyrightHolder)
{
return $this->setProperty('copyrightHolder', $copyrightHolder);
} | The party holding the legal copyright to the CreativeWork.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $copyrightHolder
@return static
@see https://schema.org/copyrightHolder | copyrightHolder | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function copyrightNotice($copyrightNotice)
{
return $this->setProperty('copyrightNotice', $copyrightNotice);
} | Text of a notice appropriate for describing the copyright aspects of this
Creative Work, ideally indicating the owner of the copyright for the
Work.
@param string|string[] $copyrightNotice
@return static
@see https://schema.org/copyrightNotice
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2659 | copyrightNotice | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function copyrightYear($copyrightYear)
{
return $this->setProperty('copyrightYear', $copyrightYear);
} | The year during which the claimed copyright for the CreativeWork was
first asserted.
@param float|float[]|int|int[] $copyrightYear
@return static
@see https://schema.org/copyrightYear | copyrightYear | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function correction($correction)
{
return $this->setProperty('correction', $correction);
} | Indicates a correction to a [[CreativeWork]], either via a
[[CorrectionComment]], textually or in another document.
@param \Spatie\SchemaOrg\Contracts\CorrectionCommentContract|\Spatie\SchemaOrg\Contracts\CorrectionCommentContract[]|string|string[] $correction
@return static
@see https://schema.org/correction
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/1950 | correction | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function countryOfOrigin($countryOfOrigin)
{
return $this->setProperty('countryOfOrigin', $countryOfOrigin);
} | The country of origin of something, including products as well as
creative works such as movie and TV content.
In the case of TV and movie, this would be the country of the principle
offices of the production company or individual responsible for the
movie. For other kinds of [[CreativeWork]] it is difficult to provide
fully general guidance, and properties such as [[contentLocation]] and
[[locationCreated]] may be more applicable.
In the case of products, the country of origin of the product. The exact
interpretation of this may vary by context and product type, and cannot
be fully enumerated here.
@param \Spatie\SchemaOrg\Contracts\CountryContract|\Spatie\SchemaOrg\Contracts\CountryContract[] $countryOfOrigin
@return static
@see https://schema.org/countryOfOrigin | countryOfOrigin | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function creativeWorkStatus($creativeWorkStatus)
{
return $this->setProperty('creativeWorkStatus', $creativeWorkStatus);
} | The status of a creative work in terms of its stage in a lifecycle.
Example terms include Incomplete, Draft, Published, Obsolete. Some
organizations define a set of terms for the stages of their publication
lifecycle.
@param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $creativeWorkStatus
@return static
@see https://schema.org/creativeWorkStatus
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/987 | creativeWorkStatus | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function creator($creator)
{
return $this->setProperty('creator', $creator);
} | The creator/author of this CreativeWork. This is the same as the Author
property for CreativeWork.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $creator
@return static
@see https://schema.org/creator | creator | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function creditText($creditText)
{
return $this->setProperty('creditText', $creditText);
} | Text that can be used to credit person(s) and/or organization(s)
associated with a published Creative Work.
@param string|string[] $creditText
@return static
@see https://schema.org/creditText
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2659 | creditText | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function dateCreated($dateCreated)
{
return $this->setProperty('dateCreated', $dateCreated);
} | The date on which the CreativeWork was created or the item was added to a
DataFeed.
@param \DateTimeInterface|\DateTimeInterface[] $dateCreated
@return static
@see https://schema.org/dateCreated | dateCreated | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function dateModified($dateModified)
{
return $this->setProperty('dateModified', $dateModified);
} | The date on which the CreativeWork was most recently modified or when the
item's entry was modified within a DataFeed.
@param \DateTimeInterface|\DateTimeInterface[] $dateModified
@return static
@see https://schema.org/dateModified | dateModified | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function datePublished($datePublished)
{
return $this->setProperty('datePublished', $datePublished);
} | Date of first publication or broadcast. For example the date a
[[CreativeWork]] was broadcast or a [[Certification]] was issued.
@param \DateTimeInterface|\DateTimeInterface[] $datePublished
@return static
@see https://schema.org/datePublished | datePublished | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function digitalSourceType($digitalSourceType)
{
return $this->setProperty('digitalSourceType', $digitalSourceType);
} | Indicates an IPTCDigitalSourceEnumeration code indicating the nature of
the digital source(s) for some [[CreativeWork]].
@param \Spatie\SchemaOrg\Contracts\IPTCDigitalSourceEnumerationContract|\Spatie\SchemaOrg\Contracts\IPTCDigitalSourceEnumerationContract[] $digitalSourceType
@return static
@see https://schema.org/digitalSourceType
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/3392 | digitalSourceType | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.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/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function discussionUrl($discussionUrl)
{
return $this->setProperty('discussionUrl', $discussionUrl);
} | A link to the page containing the comments of the CreativeWork.
@param string|string[] $discussionUrl
@return static
@see https://schema.org/discussionUrl | discussionUrl | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function editEIDR($editEIDR)
{
return $this->setProperty('editEIDR', $editEIDR);
} | An [EIDR](https://eidr.org/) (Entertainment Identifier Registry)
[[identifier]] representing a specific edit / edition for a work of film
or television.
For example, the motion picture known as "Ghostbusters" whose
[[titleEIDR]] is "10.5240/7EC7-228A-510A-053E-CBB8-J" has several edits,
e.g. "10.5240/1F2A-E1C5-680A-14C6-E76B-I" and
"10.5240/8A35-3BEE-6497-5D12-9E4F-3".
Since schema.org types like [[Movie]] and [[TVEpisode]] can be used for
both works and their multiple expressions, it is possible to use
[[titleEIDR]] alone (for a general description), or alongside
[[editEIDR]] for a more edit-specific description.
@param string|string[] $editEIDR
@return static
@see https://schema.org/editEIDR
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2469 | editEIDR | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function editor($editor)
{
return $this->setProperty('editor', $editor);
} | Specifies the Person who edited the CreativeWork.
@param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $editor
@return static
@see https://schema.org/editor | editor | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function educationalAlignment($educationalAlignment)
{
return $this->setProperty('educationalAlignment', $educationalAlignment);
} | An alignment to an established educational framework.
This property should not be used where the nature of the alignment can be
described using a simple property, for example to express that a resource
[[teaches]] or [[assesses]] a competency.
@param \Spatie\SchemaOrg\Contracts\AlignmentObjectContract|\Spatie\SchemaOrg\Contracts\AlignmentObjectContract[] $educationalAlignment
@return static
@see https://schema.org/educationalAlignment | educationalAlignment | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function educationalLevel($educationalLevel)
{
return $this->setProperty('educationalLevel', $educationalLevel);
} | The level in terms of progression through an educational or training
context. Examples of educational levels include 'beginner',
'intermediate' or 'advanced', and formal sets of level indicators.
@param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $educationalLevel
@return static
@see https://schema.org/educationalLevel
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/1779 | educationalLevel | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function educationalUse($educationalUse)
{
return $this->setProperty('educationalUse', $educationalUse);
} | The purpose of a work in the context of education; for example,
'assignment', 'group work'.
@param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $educationalUse
@return static
@see https://schema.org/educationalUse | educationalUse | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function encoding($encoding)
{
return $this->setProperty('encoding', $encoding);
} | A media object that encodes this CreativeWork. This property is a synonym
for associatedMedia.
@param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $encoding
@return static
@see https://schema.org/encoding | encoding | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function encodingFormat($encodingFormat)
{
return $this->setProperty('encodingFormat', $encodingFormat);
} | Media type typically expressed using a MIME format (see [IANA
site](http://www.iana.org/assignments/media-types/media-types.xhtml) and
[MDN
reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)),
e.g. application/zip for a SoftwareApplication binary, audio/mpeg for
.mp3 etc.
In cases where a [[CreativeWork]] has several media type representations,
[[encoding]] can be used to indicate each [[MediaObject]] alongside
particular [[encodingFormat]] information.
Unregistered or niche encoding and file formats can be indicated instead
via the most appropriate URL, e.g. defining Web page or a
Wikipedia/Wikidata entry.
@param string|string[] $encodingFormat
@return static
@see https://schema.org/encodingFormat | encodingFormat | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function encodings($encodings)
{
return $this->setProperty('encodings', $encodings);
} | A media object that encodes this CreativeWork.
@param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $encodings
@return static
@see https://schema.org/encodings | encodings | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function exampleOfWork($exampleOfWork)
{
return $this->setProperty('exampleOfWork', $exampleOfWork);
} | A creative work that this work is an
example/instance/realization/derivation of.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $exampleOfWork
@return static
@see https://schema.org/exampleOfWork | exampleOfWork | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function expires($expires)
{
return $this->setProperty('expires', $expires);
} | Date the content expires and is no longer useful or available. For
example a [[VideoObject]] or [[NewsArticle]] whose availability or
relevance is time-limited, a [[ClaimReview]] fact check whose publisher
wants to indicate that it may no longer be relevant (or helpful to
highlight) after some date, or a [[Certification]] the validity has
expired.
@param \DateTimeInterface|\DateTimeInterface[] $expires
@return static
@see https://schema.org/expires | expires | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function fileFormat($fileFormat)
{
return $this->setProperty('fileFormat', $fileFormat);
} | Media type, typically MIME format (see [IANA
site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of
the content, e.g. application/zip of a SoftwareApplication binary. In
cases where a CreativeWork has several media type representations,
'encoding' can be used to indicate each MediaObject alongside particular
fileFormat information. Unregistered or niche file formats can be
indicated instead via the most appropriate URL, e.g. defining Web page or
a Wikipedia entry.
@param string|string[] $fileFormat
@return static
@see https://schema.org/fileFormat | fileFormat | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function funder($funder)
{
return $this->setProperty('funder', $funder);
} | A person or organization that supports (sponsors) something through some
kind of financial contribution.
@param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder
@return static
@see https://schema.org/funder | funder | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function funding($funding)
{
return $this->setProperty('funding', $funding);
} | A [[Grant]] that directly or indirectly provide funding or sponsorship
for this item. See also [[ownershipFundingInfo]].
@param \Spatie\SchemaOrg\Contracts\GrantContract|\Spatie\SchemaOrg\Contracts\GrantContract[] $funding
@return static
@see https://schema.org/funding
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/383 | funding | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function genre($genre)
{
return $this->setProperty('genre', $genre);
} | Genre of the creative work, broadcast channel or group.
@param string|string[] $genre
@return static
@see https://schema.org/genre | genre | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function hasPart($hasPart)
{
return $this->setProperty('hasPart', $hasPart);
} | Indicates an item or CreativeWork that is part of this item, or
CreativeWork (in some sense).
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $hasPart
@return static
@see https://schema.org/hasPart | hasPart | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.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/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.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/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function inLanguage($inLanguage)
{
return $this->setProperty('inLanguage', $inLanguage);
} | The language of the content or performance or used in an action. Please
use one of the language codes from the [IETF BCP 47
standard](http://tools.ietf.org/html/bcp47). See also
[[availableLanguage]].
@param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $inLanguage
@return static
@see https://schema.org/inLanguage
@link https://github.com/schemaorg/schemaorg/issues/2382 | inLanguage | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function interactionStatistic($interactionStatistic)
{
return $this->setProperty('interactionStatistic', $interactionStatistic);
} | The number of interactions for the CreativeWork using the WebSite or
SoftwareApplication. The most specific child type of InteractionCounter
should be used.
@param \Spatie\SchemaOrg\Contracts\InteractionCounterContract|\Spatie\SchemaOrg\Contracts\InteractionCounterContract[] $interactionStatistic
@return static
@see https://schema.org/interactionStatistic
@link https://github.com/schemaorg/schemaorg/issues/2421 | interactionStatistic | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function interactivityType($interactivityType)
{
return $this->setProperty('interactivityType', $interactivityType);
} | The predominant mode of learning supported by the learning resource.
Acceptable values are 'active', 'expositive', or 'mixed'.
@param string|string[] $interactivityType
@return static
@see https://schema.org/interactivityType | interactivityType | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function interpretedAsClaim($interpretedAsClaim)
{
return $this->setProperty('interpretedAsClaim', $interpretedAsClaim);
} | Used to indicate a specific claim contained, implied, translated or
refined from the content of a [[MediaObject]] or other [[CreativeWork]].
The interpreting party can be indicated using [[claimInterpreter]].
@param \Spatie\SchemaOrg\Contracts\ClaimContract|\Spatie\SchemaOrg\Contracts\ClaimContract[] $interpretedAsClaim
@return static
@see https://schema.org/interpretedAsClaim
@see https://pending.schema.org
@link https://github.com/schemaorg/schemaorg/issues/2450 | interpretedAsClaim | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.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/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
public function isBasedOn($isBasedOn)
{
return $this->setProperty('isBasedOn', $isBasedOn);
} | A resource from which this work is derived or from which it is a
modification or adaptation.
@param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn
@return static
@see https://schema.org/isBasedOn | isBasedOn | php | spatie/schema-org | src/Code.php | https://github.com/spatie/schema-org/blob/master/src/Code.php | MIT |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.