summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorjvoisin2020-11-29 17:16:42 +0100
committerjvoisin2020-11-29 17:16:42 +0100
commit83b631a183c1df4233438459cb3386b715e4f2b3 (patch)
tree79a4bad1253ade8fb519c04a355461c195e913c3 /doc/source
parent7767fb3605cdc530cc6b45ada2efaa2eb1f53a22 (diff)
Document the `>` operator
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/config.rst5
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
330The ``param`` filter is also able to do some dereferencing: 330It's also able to have calltrace constrains: ``function(func1>func2)`` will
331match only if ``func2`` is called **inside** of ``func1``.
332
333The ``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