Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19ddd55

Browse files
authored
docs: in memory behavior needs PhpUnit extension (#905)
1 parent 6a0b4ac commit 19ddd55

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,6 +2138,10 @@ use the "in-memory" version of these repositories.
21382138
The "in-memory" behavior was added in Foundry 2.5 and is experimental. Experimental features are not
21392139
covered by the backward compatibility promise.
21402140

2141+
.. warning::
2142+
2143+
The `PHPUnit Extension`_ for Foundry is needed to use "in-memory" behavior (along with PHPUnit ^11.4).
2144+
21412145
First, you need to create an "in-memory" version of your repository. This repository must implement the
21422146
``Zenstruck\Foundry\InMemory\InMemoryRepository`` interface. You can use the trait
21432147
``Zenstruck\Foundry\InMemory\InMemoryRepositoryTrait`` to help you with this:

0 commit comments

Comments
 (0)