I need to create a DoctrineCollection from a .yml file with the Doctrine fixture syntax so i can save it later.
I guess there must be some kind of method to do this since the command symfony doctrine:data-load must parse the fixtures into sql code.
If not, is there a method to parse the fixtures to sql code and then execute it?
I don’t think you can create a Collection from a yml.
But you can load some fixtures from where you want with this code: