Skip to content

Commit f39003e

Browse files
authored
Add immediately-invoked-callable into EntityManager stub
1 parent dd71401 commit f39003e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

stubs/EntityManagerInterface.stub

+9
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,13 @@ interface EntityManagerInterface extends ObjectManager
6868
*/
6969
public function getClassMetadata($className);
7070

71+
/**
72+
* @param-immediately-invoked-callable $func
73+
* @param callable(): T $func
74+
* @return T
75+
*
76+
* @template T
77+
*/
78+
public function wrapInTransaction(callable $func);
79+
7180
}

0 commit comments

Comments
 (0)