Recently ran into an issue when trying to create a fixture from some existing entities. I fixed the issue myself and though you may want to merge the fix into the master branch.
The error:
PHP Fatal error: Call to undefined method Doctrine\ORM\PersistentCollection::getId() in /vendor/webonaute/doctrine-fixtures-generator-bundle/Webonaute/DoctrineFixturesGeneratorBundle/Tool/FixtureGenerator.php on line 262
The Fix: (replace the appropriate lines of FixtureGenerator.php)
Recently ran into an issue when trying to create a fixture from some existing entities. I fixed the issue myself and though you may want to merge the fix into the master branch.
The error: PHP Fatal error: Call to undefined method Doctrine\ORM\PersistentCollection::getId() in /vendor/webonaute/doctrine-fixtures-generator-bundle/Webonaute/DoctrineFixturesGeneratorBundle/Tool/FixtureGenerator.php on line 262
The Fix: (replace the appropriate lines of FixtureGenerator.php)