Documentation

Application

Interfaces, Classes, Traits and Enums

CacheInterface
This is the interface you're supposed to implement if you want to use your own caching strategy with the kit.
ExceptionInterface
Api
This class embodies a connection to your Prismic repository's API.
ApiData
ApcCache
The default implementation that is passed in the Api object when created: it is based on APCU, and therefore requires APCU to be installed on the server.
NoCache
A cache implementation that doesn't cache anything; to be passed as the $cache parameter of Prismic\Api::get when you don't want any caching.
Document
BlockGroup
This class embodies a group of RichText blocks.
Date
Link
RichText
This class embodies a RichText fragment.
InvalidArgumentException
RequestFailureException
RuntimeException
UnexpectedValueException
Experiment
FieldForm
Form
Embodies a RESTful form. This is meant for internal use.
Language
LinkResolver
The LinkResolver convert Prismic's links into your application's ones.
Ref
Embodies a ref to be called on the Prismic repository. The ref is a Prismic concept that represents a time on which you wish to query the repository, in the present (the content that is live now, we call this ref the master ref) or in the future (the content that is planned for a future content release).
SearchForm
Embodies an API call we are in the process of building. This gets started with Prismic\Api.form, then you can chain instance method calls to build your query, and the query gets launched with Prismic\SearchForm.submit.
SimplePredicate
Utils
Variation

Search results