1: <?php declare(strict_types=1);
2:
3: namespace Salient\Contract\Sync;
4:
5: /**
6: * @api
7: */
8: interface SyncNamespaceHelperInterface
9: {
10: /**
11: * Get a sync entity's provider interface
12: *
13: * @param class-string<SyncEntityInterface> $entityType
14: * @return class-string<SyncProviderInterface>
15: */
16: public function getEntityTypeProvider(string $entityType): string;
17:
18: /**
19: * Get sync entities serviced by a provider interface
20: *
21: * @param class-string<SyncProviderInterface> $provider
22: * @return array<class-string<SyncEntityInterface>>
23: */
24: public function getProviderEntityTypes(string $provider): array;
25: }
26: