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
Manager constructor.
Continues the synchronization either at the next page, or with the results since the initial synchronization.
Details
at line 50
__construct(SynchronizationClientInterface $client, ResourceBuilderInterface $builder, bool $isDeliveryApi)
Manager constructor.
Do not instantiate this class yourself, use SynchronizationClientInterface::getSynchronizationManager() instead.
at line 84
Result
startSync(Query $query = null)
Starts a new Synchronization.
The result 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 object can be used to return only a subset of the space.
at line 100
continueSync(string|Result $token)
Continues the synchronization either at the next page, or with the results since the initial synchronization.