Each entity should have a factory that helps to generate a new entity.
A factory must implements
A factory is basically a service which contain at lease a method named
The generation is performed in CLI. These information are required:
- The name of the futur factory (eg:
- The namespace of the entity (eg:
php bin/console make:factory.