laravel-doctrine / fluent

Fluent mapping driver for Doctrine2

Home Page:http://www.laraveldoctrine.org/docs/current/fluent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a boot method to the Mappings

ing200086 opened this issue · comments

To make it so you do not need to update and change doctrine.php it would be nice to have the mapping class boot and add itself.

Check #48 and #49, those PRs cover what you´re asking for (finding mapping files automatically for given path(s).)

It looks like you guys haven't decided on the method of application between those two. Can something be added to the documentation to describe your chosen method?

Docs will be upgraded once the feature hits master, in the meantime, you can implement it on your project with any kind of file finder, just as the PRs do. If you have any feedback on either of the methods, feel free to chip in the PRs with your thoughts!