AliceGenerator
AliceGenerator copied to clipboard
Recursively convert existing objects into Alice fixtures
Hi, I'm trying to generate yaml from my entities Pays, Region, Department and Ville. The first three work fine but for Ville, which has 35853 items, I get this error:...
Shouldn't the fixture have the same username, if it's saying that it turns the code into a fixtures? Everything is the same but suddenly "Trappar" turns into "Jeff"
In order to generate fixtures from live data in symfony2 I use trappar/AliceGeneratorBundle and code like ``` $fixturesContext = FixtureGenerationContext::create()->setMaximumRecursion(2); $fixtureGenerator = $this->get('trappar_alice_generator.fixture_generator'); file_put_contents("data.yml",$fixtureGenerator->generateYaml($someEntity,$fixturesContext)); ``` The problem is - when...
[ are not escaped in string property value. Sample code ```
WIP - added ability to limit doctrine collections - #10
[The documentation for Alice](https://github.com/nelmio/alice/blob/master/doc/complete-reference.md#calling-methods) shows several features (listed in title) which are not currently possible to access directly through this library. Obviously fixtures can just be altered manually post-generation, but...