1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Clarify EntityManager#transactional() docblock

This commit is contained in:
Benjamin Eberlei 2011-11-19 08:58:58 +01:00
parent dc0a03ab30
commit 53b3030aa2

View File

@ -199,6 +199,7 @@ class EntityManager implements ObjectManager
* the transaction is rolled back, the EntityManager closed and the exception re-thrown.
*
* @param Closure $func The function to execute transactionally.
* @return mixed Returns the non-empty value returned from the closure or true instead
*/
public function transactional(Closure $func)
{