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
Copy file name to clipboardExpand all lines: README.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,30 @@ A Doctrine mocking library for testing
13
13
In your unit tests that need an Entity Manager, use a `new \Firehed\Mocktrine\InMemoryEntityManager`. Done!
14
14
15
15
Any object with Doctrine's entity annotations (`@Entity`, `@Id`, `@Column`, etc) should work without modification.
16
-
Only annotation-based entity classes are supported; XML and Yaml are not.
17
16
18
17
This library aims to provide as much type information as possible, so that static analysis tools (such as PHPStan) work well without additional plugins.
19
18
19
+
### Mapping support
20
+
21
+
As of version 0.5, any mapping driver supported by Doctrine can be used with this library.
22
+
The `InMemoryEntityManager` accepts the driver as an optional parameter.
0 commit comments