ZF2 + Doctrine: generate entities returns 'no Metadata classes to process'

Asked

Viewed 845 times

0

Good morning.

In my project, I tend to create entities from the database (php5.4 + zf2 + Doctrine).

I’ve circled the command below:

    bin/doctrine-module orm:convert-mapping --filter="Category" --from-database annotation --namespace="Categoria\\Entity\\" module/Categoria/src

the class was successfully created. However, when I run the command to generate the entity, I have a message 'no Metadata classes to process' (with the command below:)

    bin/doctrine-module orm:generate-entities --filter"Category" --generate-annotations --generate-methods module/Categoria/src

Can help?

1 answer

0


Alternatively, I created the getters and setters by netbeans code generator.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.