You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Codeception with Symfony and Doctrine2 modules enabled.
I would like to be able to do something like this
$movies = $I->haveMultiple(Movie::class, 15); // haveMultiple uses this library behind the scenes.
However this doesn't work if setters for each property of Movie class are missing.
Codeceptions' method haveInRepository seems to be using reflection to set those properties, but I must specify data explicitly.
Has this problem already been solved or should I write some custom adapter?
The text was updated successfully, but these errors were encountered:
3amprogrammer
changed the title
Question: Is there any way to create a doctrine entity without setters?
Question: Is there any way to create a doctrine entity without the need for setters?
Sep 15, 2017
3amprogrammer
changed the title
Question: Is there any way to create a doctrine entity without the need for setters?
Question: Is there any way to create a doctrine entity without a need for setters?
Sep 15, 2017
I am using Codeception with Symfony and Doctrine2 modules enabled.
I would like to be able to do something like this
However this doesn't work if setters for each property of Movie class are missing.
Codeceptions' method
haveInRepository
seems to be using reflection to set those properties, but I must specify data explicitly.Has this problem already been solved or should I write some custom adapter?
The text was updated successfully, but these errors were encountered: