Skip to content
Permalink
Browse files

Update doc blocks for #3532

  • Loading branch information...
markstory committed Jun 27, 2014
1 parent 35b9975 commit 0da3c4c5f67ea5f1efa4b72e5590ec0e878ce8d6
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/Routing/DispatcherFilter.php
@@ -39,6 +39,12 @@
* When the above filter is connected to a dispatcher it will only fire
* its `beforeDispatch` and `afterDispatch` methods on requests that start with `/blog`.
*
* The for condition can also be a regular expression by using the `preg:` prefix:
*
* {{{
* $filter = new BlogFilter(['for' => 'preg:#^/blog/\d+$#']);
* }}}
*
* ### Limiting filters based on conditions
*
* In addition to simple path based matching you can use a closure to match on arbitrary request

0 comments on commit 0da3c4c

Please sign in to comment.
You can’t perform that action at this time.