| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
namespace Symfony\Component\Serializer\Mapping; |
| 13 |
|
| 14 |
use Symfony\Component\PropertyAccess\PropertyPath; |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
> |
| 24 |
|
| 25 |
interface AttributeMetadataInterface |
| 26 |
{ |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
public function getName(): string; |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
public function addGroup(string $group): void; |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
public function getGroups(): array; |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
public function setMaxDepth(?int $maxDepth): void; |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
public function getMaxDepth(): ?int; |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
public function setSerializedName(?string $serializedName): void; |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
public function getSerializedName(): ?string; |
| 63 |
|
| 64 |
public function setSerializedPath(?PropertyPath $serializedPath): void; |
| 65 |
|
| 66 |
public function getSerializedPath(): ?PropertyPath; |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
public function setIgnore(bool $ignore): void; |
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
public function isIgnored(): bool; |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
public function merge(self $attributeMetadata): void; |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
public function getNormalizationContexts(): array; |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
public function getNormalizationContextForGroups(array $groups): array; |
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
public function setNormalizationContextForGroups(array $context, array $groups = []): void; |
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
public function getDenormalizationContexts(): array; |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
public function getDenormalizationContextForGroups(array $groups): array; |
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
public function setDenormalizationContextForGroups(array $context, array $groups = []): void; |
| 112 |
} |