You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Attribute/MapFrom.php
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,15 @@
11
11
finalreadonlyclass MapFrom
12
12
{
13
13
/**
14
-
* @param class-string<object>|'array'|array<class-string<object>|'array'>|null $source The specific source class name or array. If null this attribute will be used for all source classes.
15
-
* @param string|null $property The source property name. If null, the target property name will be used.
16
-
* @param int|null $maxDepth The maximum depth of the mapping. If null, the default max depth will be used.
17
-
* @param string|callable(mixed $value, object|array<string, mixed> $source, array<string, mixed> $context): mixed $transformer A transformer id or a callable that transform the value during mapping
18
-
* @param bool|null $ignore If true, the property will be ignored during mapping
19
-
* @param string|null $if The condition to map the property, using the expression language
20
-
* @param string[]|null $groups The groups to map the property
21
-
* @param string|null $dateTimeFormat The date-time format to use when transforming this property
14
+
* @param class-string<object>|'array'|array<class-string<object>|'array'>|null $source The specific source class name or array. If null this attribute will be used for all source classes.
15
+
* @param string|null $property The source property name. If null, the target property name will be used.
16
+
* @param int|null $maxDepth The maximum depth of the mapping. If null, the default max depth will be used.
17
+
* @param string|callable(mixed $value, object|array<string, mixed> $source, array<string, mixed> $context): mixed $transformer A transformer id or a callable that transform the value during mapping
18
+
* @param bool|null $ignore If true, the property will be ignored during mapping
19
+
* @param string|null $if The condition to map the property, using the expression language
20
+
* @param string[]|null $groups The groups to map the property
21
+
* @param string|null $dateTimeFormat The date-time format to use when transforming this property
22
+
* @param bool|null $extractTypesFromGetter If true, the types will be extracted from the getter method
Copy file name to clipboardExpand all lines: src/Attribute/MapTo.php
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,15 @@
11
11
finalreadonlyclass MapTo
12
12
{
13
13
/**
14
-
* @param class-string<object>|'array'|array<class-string<object>|'array'>|null $target The specific target class name or array. If null this attribute will be used for all target classes.
15
-
* @param string|null $property The target property name. If null, the source property name will be used.
16
-
* @param int|null $maxDepth The maximum depth of the mapping. If null, the default max depth will be used.
17
-
* @param string|callable(mixed $value, object|array<string, mixed> $source, array<string, mixed> $context): mixed $transformer A transformer id or a callable that transform the value during mapping
18
-
* @param bool|null $ignore If true, the property will be ignored during mapping
19
-
* @param string|null $if The condition to map the property, using the expression language
20
-
* @param string[]|null $groups The groups to map the property
21
-
* @param string|null $dateTimeFormat The date-time format to use when transforming this property
14
+
* @param class-string<object>|'array'|array<class-string<object>|'array'>|null $target The specific target class name or array. If null this attribute will be used for all target classes.
15
+
* @param string|null $property The target property name. If null, the source property name will be used.
16
+
* @param int|null $maxDepth The maximum depth of the mapping. If null, the default max depth will be used.
17
+
* @param string|callable(mixed $value, object|array<string, mixed> $source, array<string, mixed> $context): mixed $transformer A transformer id or a callable that transform the value during mapping
18
+
* @param bool|null $ignore If true, the property will be ignored during mapping
19
+
* @param string|null $if The condition to map the property, using the expression language
20
+
* @param string[]|null $groups The groups to map the property
21
+
* @param string|null $dateTimeFormat The date-time format to use when transforming this property
22
+
* @param bool|null $extractTypesFromGetter If true, the types will be extracted from the getter method
0 commit comments