Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

No Metadata Classes to process #72

Closed
mbbender opened this issue Apr 30, 2015 · 2 comments
Closed

No Metadata Classes to process #72

mbbender opened this issue Apr 30, 2015 · 2 comments

Comments

@mbbender
Copy link
Contributor

So with a base install from master and the cli-config.php in the readme I've tried creating an entity in app/Domain/Entities and just in the root app directory. I get No Metadata Classes to process. when I run vendor/bin/doctrine orm:schema:create. How do I tell Doctrine where to find these classes with this package? Is it something I'm missing in the config? Where is it expecting to find annotated classes?

@mbbender
Copy link
Contributor Author

Set the config 'metadata' => [ 'driver' => 'annotation' ] and it is finding my entities now. If I figure out how the driver chain works and why by default it's not picking these up I'll send over a PR.

@atrauzzi
Copy link
Owner

atrauzzi commented May 1, 2015

Awesome. Yes, if you send me any merges, I'll try to fold them in as quickly as I see them!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants