laravel-doctrine
laravel-doctrine copied to clipboard
Added configurable naming strategy
Allows for the user to choose the naming strategy.
eg. 'naming_strategy' => 'Doctrine\ORM\Mapping\UnderscoreNamingStrategy'
Possible suggestion: Keep the metadata config the same, and add a separate 'metadata_naming_strategy' key to preserve backwards compatibility with old config files.
I think we might put this in the release for L5 rather than the current one, due to the config change (L5 requires a different approach to configuration anyway). @mitchellvanw ?
@kirkbushell Yeah. Or use the alternate naming I proposed in my comment to preserve backwards compatibility..
@Supericy I'm not a big fan of that - we'd end up with conditionals every time a config file changes just to support previous versions, when all they'd need to do is update their configuration file.