Skip to content

Commit 05079e5

Browse files
authored
Update data-persisters.md (#1202)
Correct `use` for `ContextAwareDataPersisterInterface` in decorator example.
1 parent 0daaae9 commit 05079e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/data-persisters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Here is an implementation example which sends new users a welcome email after a
8484
```php
8585
namespace App\DataPersister;
8686

87-
use ApiPlatform\Core\DataPersister\DataPersisterInterface;
87+
use ApiPlatform\Core\DataPersister\ContextAwareDataPersisterInterface;
8888
use App\Entity\User;
8989
use Symfony\Component\Mailer\MailerInterface;
9090

0 commit comments

Comments
 (0)