diff --git a/en/reference/filters.rst b/en/reference/filters.rst index 6c663c465..ef8b36e52 100644 --- a/en/reference/filters.rst +++ b/en/reference/filters.rst @@ -29,6 +29,7 @@ the filters. The ``SQLFilter#getParameter()`` function takes care of the proper quoting of parameters. .. code-block:: php + addFilter("locale", "\Doctrine\Tests\ORM\Functional\MyLocaleFilter"); @@ -69,6 +71,7 @@ will retrieve the filter object. You can set the filter parameters on that object. .. code-block:: php + getFilters()->enable("locale"); $filter->setParameter('locale', 'en');