Groups
Groups
Sign in
Groups
Groups
PHPRS
Conversations
About
Send feedback
Help
gerar Entity no doctrine com postgree
16 views
Skip to first unread message
rogerio Lamarques
unread,
Sep 6, 2016, 5:35:12 PM
9/6/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PHPRS
Olá,
Estou com a seguinte dúvida:
ao efetuar o comando
.\vendor\bin\doctrine orm:convert-mapping --from-database annotation .\Application\src\Application\Entity\
onde tenho no postgresql:
scheme: system
tabela: users
como resultado tenho um arquivo System.users.php com a classe
class System.users
{
}
o que não é o correto e causa erros de syntaxe
como faço para esse comando me retornar um arquivo SystemUsers,php com classe
class SystemUsers
{
}
e ainda colocar na geração o namespace
use \Application\Entity;
Alguém pode me indicar uma solução para isso.
Obrigado.
Reply all
Reply to author
Forward
0 new messages