laravel-doctrine / fluent

Fluent mapping driver for Doctrine2
http://www.laraveldoctrine.org/docs/current/fluent
MIT License
43 stars 22 forks source link

Add a boot method to the Mappings #54

Closed ing200086 closed 6 years ago

ing200086 commented 6 years ago

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.

guiwoda commented 6 years ago

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

ing200086 commented 6 years ago

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?

guiwoda commented 6 years ago

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!