symfony-docs icon indicating copy to clipboard operation
symfony-docs copied to clipboard

[Console] Add `#[Input]` attribute to support DTOs in invokable commands

Open fabpot opened this issue 3 months ago • 1 comments

Q A
Feature PR symfony/symfony#61478
PR author(s) @yceruto
Merged in 7.4

We created this issue to not forget to document this new feature. We would really appreciate if you can help us with this task. If you are not sure how to do it, please ask us and we will help you.

To fix this issue, please create a PR against the 7.4 branch in the symfony-docs repository.

Thank you! :smiley:

fabpot avatar Sep 06 '25 13:09 fabpot

it was renamed to #[MapInput] in https://github.com/symfony/symfony/pull/61890

yceruto avatar Oct 04 '25 11:10 yceruto