Skip to content

Commit

Permalink
Fix typo on cache cleaner documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-goncalves-kununu committed Jan 8, 2024
1 parent fd48d0e commit 97c5f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cache-cleaner.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ As we already have seen, the `ProjectionRepositoryInterface` already has a metho

So your cache cleaner class by tags should be instantiated with a `ProjectionRepositoryInterface` instance (and also with a PSR logger instance), and simply implement the `getTags` method which must return the `Tags` collection that will be passed to the `deleteByTags` on the repository instance.

Note: Tour implementation of `ProjectionRepositoryInterface` must be compatible with tags, otherwise this will fail!
*Note*: Your implementation of `ProjectionRepositoryInterface` **must be compatible with tags**, otherwise this will fail!

```php
public function __construct(
Expand Down

0 comments on commit 97c5f6d

Please sign in to comment.