diff --git a/core/filters.md b/core/filters.md index c734deab989..35520c0acdb 100644 --- a/core/filters.md +++ b/core/filters.md @@ -465,6 +465,7 @@ services: In the previous example, the filter can be applied on any property. However, thanks to the `AbstractFilter` class, it can also be enabled for some properties: +```yaml services: 'AppBundle\Filter\RegexpFilter': class: 'AppBundle\Filter\RegexpFilter'