initial commit
This commit is contained in:
24
vendor/symfony/maker-bundle/config/help/MakeEntity.txt
vendored
Normal file
24
vendor/symfony/maker-bundle/config/help/MakeEntity.txt
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
The <info>%command.name%</info> command creates or updates an entity and repository class.
|
||||
|
||||
<info>php %command.full_name% BlogPost</info>
|
||||
|
||||
If the argument is missing, the command will ask for the entity class name interactively.
|
||||
|
||||
You can also mark this class as an API Platform resource. A hypermedia CRUD API will
|
||||
automatically be available for this entity class:
|
||||
|
||||
<info>php %command.full_name% --api-resource</info>
|
||||
|
||||
Symfony can also broadcast all changes made to the entity to the client using Symfony
|
||||
UX Turbo.
|
||||
|
||||
<info>php %command.full_name% --broadcast</info>
|
||||
|
||||
You can also generate all the getter/setter/adder/remover methods
|
||||
for the properties of existing entities:
|
||||
|
||||
<info>php %command.full_name% --regenerate</info>
|
||||
|
||||
You can also *overwrite* any existing methods:
|
||||
|
||||
<info>php %command.full_name% --regenerate --overwrite</info>
|
||||
Reference in New Issue
Block a user