|
33 | 33 | * "datetime_format"?: string, |
34 | 34 | * "datetime_force_timezone"?: string, |
35 | 35 | * "map_to_accessor_parameter"?: array<string, string>, |
36 | | - * "normalizer_format"?: string |
| 36 | + * "normalizer_format"?: string, |
| 37 | + * "initialize_lazy_object"?: bool, |
| 38 | + * "lazy_mapping"?: bool, |
37 | 39 | * } |
38 | 40 | */ |
39 | 41 | class MapperContext |
40 | 42 | { |
41 | | - public const GROUPS = 'groups'; |
42 | | - public const ALLOWED_ATTRIBUTES = 'allowed_attributes'; |
43 | | - public const IGNORED_ATTRIBUTES = 'ignored_attributes'; |
44 | | - public const CIRCULAR_REFERENCE_LIMIT = 'circular_reference_limit'; |
45 | | - public const CIRCULAR_REFERENCE_HANDLER = 'circular_reference_handler'; |
46 | | - public const CIRCULAR_REFERENCE_REGISTRY = 'circular_reference_registry'; |
47 | | - public const CIRCULAR_COUNT_REFERENCE_REGISTRY = 'circular_count_reference_registry'; |
48 | | - public const DEPTH = 'depth'; |
49 | | - public const TARGET_TO_POPULATE = 'target_to_populate'; |
50 | | - public const DEEP_TARGET_TO_POPULATE = 'deep_target_to_populate'; |
51 | | - public const CONSTRUCTOR_ARGUMENTS = 'constructor_arguments'; |
52 | | - public const SKIP_NULL_VALUES = 'skip_null_values'; |
53 | | - public const SKIP_UNINITIALIZED_VALUES = 'skip_uninitialized_values'; |
54 | | - public const ALLOW_READONLY_TARGET_TO_POPULATE = 'allow_readonly_target_to_populate'; |
55 | | - public const DATETIME_FORMAT = 'datetime_format'; |
56 | | - public const DATETIME_FORCE_TIMEZONE = 'datetime_force_timezone'; |
57 | | - public const MAP_TO_ACCESSOR_PARAMETER = 'map_to_accessor_parameter'; |
58 | | - public const NORMALIZER_FORMAT = 'normalizer_format'; |
59 | | - public const LAZY_MAPPING = 'lazy_mapping'; |
| 43 | + public const string GROUPS = 'groups'; |
| 44 | + public const string ALLOWED_ATTRIBUTES = 'allowed_attributes'; |
| 45 | + public const string IGNORED_ATTRIBUTES = 'ignored_attributes'; |
| 46 | + public const string CIRCULAR_REFERENCE_LIMIT = 'circular_reference_limit'; |
| 47 | + public const string CIRCULAR_REFERENCE_HANDLER = 'circular_reference_handler'; |
| 48 | + public const string CIRCULAR_REFERENCE_REGISTRY = 'circular_reference_registry'; |
| 49 | + public const string CIRCULAR_COUNT_REFERENCE_REGISTRY = 'circular_count_reference_registry'; |
| 50 | + public const string DEPTH = 'depth'; |
| 51 | + public const string TARGET_TO_POPULATE = 'target_to_populate'; |
| 52 | + public const string DEEP_TARGET_TO_POPULATE = 'deep_target_to_populate'; |
| 53 | + public const string CONSTRUCTOR_ARGUMENTS = 'constructor_arguments'; |
| 54 | + public const string SKIP_NULL_VALUES = 'skip_null_values'; |
| 55 | + public const string SKIP_UNINITIALIZED_VALUES = 'skip_uninitialized_values'; |
| 56 | + public const string ALLOW_READONLY_TARGET_TO_POPULATE = 'allow_readonly_target_to_populate'; |
| 57 | + public const string DATETIME_FORMAT = 'datetime_format'; |
| 58 | + public const string DATETIME_FORCE_TIMEZONE = 'datetime_force_timezone'; |
| 59 | + public const string MAP_TO_ACCESSOR_PARAMETER = 'map_to_accessor_parameter'; |
| 60 | + public const string NORMALIZER_FORMAT = 'normalizer_format'; |
| 61 | + public const string INITIALIZE_LAZY_OBJECT = 'initialize_lazy_object'; |
| 62 | + public const string LAZY_MAPPING = 'lazy_mapping'; |
60 | 63 |
|
61 | 64 | /** @var MapperContextArray */ |
62 | 65 | private array $context = [ |
|
0 commit comments