I'm in the progress of converting a Doctrine2 project to Symfony2. I have a model class which represents SI Prefixes, as well as a default set of SI Prefixes.
How and where would I store a default set of SI Prefixes? I currently have a YAML file, but I'm not sure where to put it. Would
<MyBundle>/Resources/data/siprefixes.yaml
be an appropriate place?How would I import the data for unit tests? Is doctrine-fixtures the way to go, by manually parsing the data and creating/persisting the entities?
How would I import the data during a setup procedure of any kind?