X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FOperator%2FDoctrine%2FMatches.php;fp=src%2FWallabag%2FCoreBundle%2FOperator%2FDoctrine%2FMatches.php;h=e6bb03b12d4a5fd3b9ba2ccc114f114a71111d47;hb=f27aca26f645b16eea4a33691431aeaa7d4c1ffe;hp=dc47c982a52a563d43bd9271bdd3e347bf87b3c1;hpb=a6e27f74663637ecc4a4cf84028e6b5a3556a6ff;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Operator/Doctrine/Matches.php b/src/Wallabag/CoreBundle/Operator/Doctrine/Matches.php index dc47c982..e6bb03b1 100644 --- a/src/Wallabag/CoreBundle/Operator/Doctrine/Matches.php +++ b/src/Wallabag/CoreBundle/Operator/Doctrine/Matches.php @@ -2,6 +2,16 @@ namespace Wallabag\CoreBundle\Operator\Doctrine; +/** + * 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 DQL, usable + * by Doctrine ORM. + * It's registered in RulerZ using a service (wallabag.operator.doctrine.matches); + */ class Matches { public function __invoke($subject, $pattern)