Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[RFC] [Console] typehint input as attribute? #49522

Closed
@94noni

Description

@94noni

Description

Hello

RFC regarding to add more typehint on Symfony/Component/Console/Input/Input as attributes.

Can we imagine "mimicking" #49138 but for console in some way?

bin/console (cli entry point) can leverage attributes to validate/parse/transform user land inputs before command is really executed

(the same way public/index.php (web entry point) now leverage tons of new features since v6.3

Thanks!

Example

  • MapQueryString => MapInputString
  • ... try to see what usage can be backported from the "web request" context

no example/no idea of better naming and related implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConsoleRFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions