-
Notifications
You must be signed in to change notification settings - Fork 1
ObjectSyncService
github-actions[bot] edited this page Jun 19, 2023
·
11 revisions
This service handles calls on the ZZ endpoint (or in other words abstract routing).
Name | Description |
---|---|
__construct | The constructor sets al needed variables. |
objectSyncHandler | Synchronise the object to the source. |
Description
public __construct (\EntityManagerInterface $entityManager, \SynchronizationService $syncService, \CallService $callService, \GatewayResourceService $resourceService, \LoggerInterface $objectSyncLogger)
The constructor sets al needed variables.
Parameters
-
(\EntityManagerInterface) $entityManager
: The enitymanger -
(\SynchronizationService) $syncService
: The synchronisation service -
(\CallService) $callService
: The call service -
(\GatewayResourceService) $resourceService
: The resource service -
(\LoggerInterface) $objectSyncLogger
: The logger interface
Return Values
void
Description
public objectSyncHandler (array $data)
Synchronise the object to the source.
Parameters
-
(array) $data
: A data arry containing a source, a schema and an object.
Return Values
array
The path array for a proxy endpoint.
Throws Exceptions
\Exception