@@ -339,6 +339,7 @@ and inside the transfers array define your transfer:
339339| ------------------------| --------| ----------| -----------------------------------------------------------------------------------------------------------------------|
340340| name | string | yes | The transfer object name. The result class name will be this name concatenated with "Transfer". E.g. CustomerTransfer |
341341| properties | array | yes | An array of objects with definition of each class property |
342+ | immutable | bool | no | Remove setters from the class. In this case the class name will end with "TransferImmutable" |
342343| deprecationDescription | string | no | If present and not empty, will add an annotation with @deprecated , to mark this class as deprecated |
343344
344345- class properties
@@ -355,6 +356,7 @@ and inside the transfers array define your transfer:
355356## Example of property definitions
356357
357358- integer
359+
358360```
359361...
360362{
@@ -365,6 +367,7 @@ and inside the transfers array define your transfer:
365367```
366368
367369- nullable string
370+
368371```
369372...
370373{
@@ -376,6 +379,7 @@ and inside the transfers array define your transfer:
376379```
377380
378381- another transfer object as property
382+
379383```
380384...
381385{
@@ -386,6 +390,7 @@ and inside the transfers array define your transfer:
386390```
387391
388392- DateTime property
393+
389394```
390395...
391396{
@@ -397,6 +402,7 @@ and inside the transfers array define your transfer:
397402```
398403
399404- Array of strings
405+
400406```
401407...
402408{
@@ -408,6 +414,7 @@ and inside the transfers array define your transfer:
408414```
409415
410416- Array of transfer objects
417+
411418```
412419...
413420{
@@ -419,6 +426,7 @@ and inside the transfers array define your transfer:
419426```
420427
421428- Symfony Response
429+
422430```
423431...
424432{
0 commit comments