sumocoders / generator-bundle
生成器
v1.0
2017-07-14 07:39 UTC
Requires
- php: ^5.5 || ^7.0
- jms/cg: ^1.2
This package is auto-updated.
Last update: 2024-09-07 02:18:54 UTC
README
GeneratorBundle会通过基于给定实体生成命令、命令处理器和服务配置来帮助你处理一些样板代码。
许可证
此捆绑包使用MIT许可证。查看完整的许可证:[LICENSE](https://github.com/sumocoders/generator-bundle/blob/HEAD/LICENSE)
关于
GeneratorBundle是由SumoCoders创建的捆绑包,旨在与框架或ForkCMS一起使用。
用法
Symfony
app/console sumocoders:generate --entityFQN 'AppBundle\Entity\Post'
ForkCMS
app/console sumocoders:generate --entityFQN 'Backend\Modules\MyModule\Entity\Post'
已知问题
- 当未使用FQN生成时,类名前面会加上反斜杠。
还有其他问题吗?
请随意在Github上添加问题,或者更好的是创建一个Pull Request。