Elorfin
Elorfin

Reputation: 2497

symfony : How to explode schema.yml as fixtures?

My model is a bit complicated and my schema.yml has many lines. So what I want is to explode schema in many files, in order to make it more readable.

I know, it's possible with the fixtures and my question is : there is a way to do the same thing with schema.yml ?

Upvotes: 0

Views: 150

Answers (1)

Grad van Horck
Grad van Horck

Reputation: 4506

Yes, you can just create multiple *.yml files, and their all read. You can even use references across files.

Upvotes: 2

Related Questions