1 | <?php |
||
22 | class DeserializationContext extends JmsSerializerContext implements DynamoAnnotation |
||
23 | { |
||
24 | const NAME = 'deserialization_context'; |
||
25 | |||
26 | /** |
||
27 | * Depth to use while deserializing |
||
28 | * |
||
29 | * @var int |
||
30 | */ |
||
31 | private $depth; |
||
32 | |||
33 | /** |
||
34 | * Constructor |
||
35 | * |
||
36 | * @param array $params |
||
37 | */ |
||
38 | public function __construct(array $params) |
||
47 | |||
48 | /** |
||
49 | * Get Depth |
||
50 | * |
||
51 | * @return int |
||
52 | */ |
||
53 | public function getDepth() |
||
57 | |||
58 | /** |
||
59 | * The name of the annotation or class of annotations |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | public function getName() |
||
67 | |||
68 | /** |
||
69 | * Whether or not multiple annotations of this type can |
||
70 | * be added to a method |
||
71 | * |
||
72 | * @return bool |
||
73 | */ |
||
74 | public function allowMultiple() |
||
78 | } |
||
79 |