cute.S
cute.S

Reputation: 351

is there any way to move myentity.orm.yml files out of a Symfony bundle?

I have a unusual situation where I have to keep all myBundle/Resources/config/doctrine/*.orm.yml files out of the bundle.

My question is how we can save the file somewhere else (i.e in the root of src/ folder) and let the doctrine know about it? Thanks.

Upvotes: 0

Views: 25

Answers (1)

user1557127
user1557127

Reputation:

If you change the location of orm files, I believe you have to inform this to Symfony core, which can be a painful thing. The given possible place is under bundle resources\doctrine location.

Upvotes: 1

Related Questions