1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Contract\Sync; |
4: | |
5: | use Salient\Contract\Core\SerializeRulesInterface; |
6: | use Closure; |
7: | |
8: | |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | interface SyncSerializeRulesInterface extends SerializeRulesInterface |
16: | { |
17: | |
18: | |
19: | |
20: | |
21: | |
22: | public function getReplaceableKeys(?string $class, ?string $baseClass, array $path): array; |
23: | |
24: | |
25: | |
26: | |
27: | public function getForSyncStore(): bool; |
28: | |
29: | |
30: | |
31: | |
32: | |
33: | |
34: | public function withForSyncStore(?bool $forSyncStore = true); |
35: | |
36: | |
37: | |
38: | |
39: | public function getIncludeCanonicalId(): bool; |
40: | |
41: | |
42: | |
43: | |
44: | |
45: | |
46: | public function withIncludeCanonicalId(?bool $include = true); |
47: | } |
48: | |