diff options
| author | Ben Fuhrmannek | 2021-02-16 11:16:59 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-02-16 11:16:59 +0100 |
| commit | 5484bcb5eb2714e7438927e2566c86a74d7c51af (patch) | |
| tree | b78326d2999397be4c08e06b23209981f82a4ea9 /doc/source/config.rst | |
| parent | 7ac1e3866ef4f146c6c93a5ca13b9aebb14e936a (diff) | |
| parent | cecfdd808da67be908dbe7144cc8c74dfb3f855e (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'doc/source/config.rst')
| -rw-r--r-- | doc/source/config.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index 91e085c..258b1ab 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -327,7 +327,11 @@ 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``. Do note that their | ||
| 332 | might be other functions called between them. | ||
| 333 | |||
| 334 | The ``param`` filter is able to do some dereferencing as well: | ||
| 331 | 335 | ||
| 332 | - ``param($foo[bar])`` will get a match on the value corresponding to the ``bar`` key in the hashtable ``foo``. | 336 | - ``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 | 337 | Remember that in PHP, almost every data structure is a hashtable. You can of course nest this like |
