diff options
Diffstat (limited to 'doc/source/config.rst')
| -rw-r--r-- | doc/source/config.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index 91e085c..dd30723 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -327,7 +327,10 @@ The ``function`` filter is able to do various dereferencing: | |||
| 327 | - ``function("AwesomeClass::my_method")`` will match the method ``my_method`` in the class ``AwesomeClass`` | 327 | - ``function("AwesomeClass::my_method")`` will match the method ``my_method`` in the class ``AwesomeClass`` |
| 328 | - ``function("AwesomeNamespace\\my_function")`` will match the function ``my_function`` in the namespace ``AwesomeNamespace`` | 328 | - ``function("AwesomeNamespace\\my_function")`` will match the function ``my_function`` in the namespace ``AwesomeNamespace`` |
| 329 | 329 | ||
| 330 | The ``param`` filter is also able to do some dereferencing: | 330 | It's also able to have calltrace constrains: ``function(func1>func2)`` will |
| 331 | match only if ``func2`` is called **inside** of ``func1``. | ||
| 332 | |||
| 333 | The ``param`` filter is able to do some dereferencing as well: | ||
| 331 | 334 | ||
| 332 | - ``param($foo[bar])`` will get a match on the value corresponding to the ``bar`` key in the hashtable ``foo``. | 335 | - ``param($foo[bar])`` will get a match on the value corresponding to the ``bar`` key in the hashtable ``foo``. |
| 333 | Remember that in PHP, almost every data structure is a hashtable. You can of course nest this like | 336 | Remember that in PHP, almost every data structure is a hashtable. You can of course nest this like |
