Manager
class Manager
The synchronization Manager can be used to sync a Space to this server.
It provides notifications about added, updated and deleted assets and entries.
Methods
Continues the synchronization either at the next page or with the results since the initial synchronization.
Details
at line 50
__construct(Client $client, ResourceBuilder $builder, bool $preview)
Manager constructor.
Do not instantiate this class yourself, use Contentful\Delivery\Client::getSynchronizationManager instead.
at line 68
Result
startSync(Query $query = null)
Starts a new Synchronization. Will contain all the Resources currently present in the space.
By calling Result::isDone it can be checked if there's another page of results, if so call continueSync
to get the next page.
A Query can be used to return only a subset of the space.
at line 85
Result
continueSync(string $token)
Continues the synchronization either at the next page or with the results since the initial synchronization.