From f27aca26f645b16eea4a33691431aeaa7d4c1ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Gomez?= Date: Fri, 13 Nov 2015 20:48:51 +0100 Subject: Add phpdoc for all Matches implementations --- src/Wallabag/CoreBundle/Operator/PHP/Matches.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/Wallabag/CoreBundle/Operator/PHP/Matches.php') diff --git a/src/Wallabag/CoreBundle/Operator/PHP/Matches.php b/src/Wallabag/CoreBundle/Operator/PHP/Matches.php index 4768900c..987ed2a5 100644 --- a/src/Wallabag/CoreBundle/Operator/PHP/Matches.php +++ b/src/Wallabag/CoreBundle/Operator/PHP/Matches.php @@ -2,6 +2,16 @@ namespace Wallabag\CoreBundle\Operator\PHP; +/** + * Provides a "matches" operator used for tagging rules. + * + * It asserts that a given pattern is contained in a subject, in a + * case-insensitive way. + * + * This operator will be used to compile tagging rules in PHP, usable + * directly on Entry objects for instance. + * It's registered in RulerZ using a service (wallabag.operator.array.matches); + */ class Matches { public function __invoke($subject, $pattern) -- cgit v1.2.3