Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/Resources/help/MakeForm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@ The <info>%command.name%</info> command generates a new form class.
<info>php %command.full_name% UserType</info>

If the argument is missing, the command will ask for the form class interactively.

You can optionally specify the bound class in a second argument.
This can be the name of an entity like <info>User</info>

<info>php %command.full_name% UserType User</info>

You can also specify a fully qualified name to another class like <info>\App\Dto\UserData</info>.
Slashes must be escaped in the argument.

<info>php %command.full_name% UserType \\App\\Dto\\UserData</info>