Skip to content

Commit

Permalink
Merge pull request #139 from gsteel/deprecate-static-filter
Browse files Browse the repository at this point in the history
Add deprecation notice for StaticFilter to the docs
  • Loading branch information
gsteel committed Apr 4, 2024
2 parents 45f9a69 + 0dfeacb commit d6a2d35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/book/v2/intro.md
Expand Up @@ -55,6 +55,9 @@ $laminaslove = $strtolower('I LOVE Laminas!');

## Using the StaticFilter

CAUTION: **Deprecated**
This filter is deprecated since version 2.15.0 and [will be removed](migration/preparing-for-v3.md#static-filter-removal) in version 3.0.

If it is inconvenient to load a given filter class and create an instance of the
filter, you can use `StaticFilter` with its `execute()` method as an alternative
invocation style. The first argument of this method is a data input value, that
Expand Down
3 changes: 3 additions & 0 deletions docs/book/v2/static-filter.md
@@ -1,5 +1,8 @@
# Static Filter

CAUTION: **Deprecated**
This filter is deprecated since version 2.15.0 and [will be removed](migration/preparing-for-v3.md#static-filter-removal) in version 3.0.

If it is inconvenient to load a given filter class and create an instance of
the filter, you can use `StaticFilter` with it's method `execute()` as an
alternative invocation style. The first argument of this method is a data input
Expand Down

0 comments on commit d6a2d35

Please sign in to comment.