Skip to content

Commit

Permalink
Fix README.md error
Browse files Browse the repository at this point in the history
  • Loading branch information
Pixelshaped committed Jun 3, 2024
1 parent 7f1bba4 commit 6343024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The solution provided by Doctrine doesn't work. The creation of this bundle aros

This bundle comes with several attributes that you can use to add mapping to your DTOs:

- `#[Identifier]`: Any DTO has to have at least one identifier. This identifier is used to create the DTO only once.
- `#[Identifier]`: Any DTO has to have exactly one identifier. This identifier is used to create the DTO only once.
- `#[InboundProperty("property_name")]`: The name of the key on the associative arrays contained by your result set. This is optional if your DTO's property names are already matching the result set.
- `#[ReferencesArray(NestedDTO::class)]`: An array of `NestedDTO` will be created using the mapping information contained in `NestedDTO`
- `#[ColumnArray("property_name")]` the column `property_name` of your result set will be mapped as an array of scalar properties (such as IDs).
Expand Down

0 comments on commit 6343024

Please sign in to comment.