craue / CraueGeoBundle

Doctrine functions for calculating geographical distances in your Symfony project.
MIT License
124 stars 15 forks source link

register Doctrine functions automatically while providing a way to set custom names #10

Closed craue closed 8 years ago

craue commented 8 years ago

With this, a user doesn't need to register the Doctrine functions manually anymore. They are just registered using their usual names. Configuration is added to set custom names, if needed.

There should be no BC break. If a user already uses different names for these function, they will still work. Also, if a user defined other functions named like the bundle defaults, the user-defined ones will have precedence.