Possible bug in EntityManager::transactional #9217
Answered
by
yethee
ghost
asked this question in
Support Questions
-
See: orm/lib/Doctrine/ORM/EntityManager.php Line 240 in 15ec77f If the callback returns 0 (or something PHP evaluates falsy), EntityManager::transactional evaluates it as false and returns true. Why would returning zero be not valid return value? |
Beta Was this translation helpful? Give feedback.
Answered by
yethee
Dec 3, 2021
Replies: 1 comment 1 reply
-
Since 2.10.0 version you can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since 2.10.0 version you can use
EntityManager::wrapInTransaction()