symfony / maker-bundle

Symfony Maker Bundle
https://symfony.com/
MIT License
3.35k stars 406 forks source link

how to generate a document in symfony 4.1 with maker command #320

Closed cmukanisa closed 2 years ago

cmukanisa commented 5 years ago

Hello everyone, I am unable to generate documents with symfony 4.1 using mongodb because there are no commands for that, someone can help me please. thx

bestog commented 5 years ago

Wanted to ask the same thing. @weaverryan Is there a plan for that? 👍

weaverryan commented 5 years ago

No plan, but it doesn’t mean it can’t haopen. The make:entity command is super complex and took a long time to develop. Making one for th ODM, which would be great, is just much lower on the priority list because of the comparative number of users. Someone can contribute it of course.

Cheers!

cmukanisa commented 5 years ago

And for the time what's can we do ? For moment a generate manually the getters and setters

weaverryan commented 5 years ago

Yep - for now, you’ll need to do things by hand like always - if you want getters and setters, using your IDE is a nice way (it sounds like you already are).

SamuelTallet commented 4 years ago

Hello everyone, I am unable to generate documents with symfony 4.1 using mongodb because there are no commands for that, someone can help me please. thx

I made a composer package to handle this task. Project is still very young but basic features are there. 😉

jrushlow commented 2 years ago

We have no immediate plans to implement this into MakerBundle. However, PR's are always welcome!