aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKévin Gomez <contact@kevingomez.fr>2015-11-13 20:48:51 +0100
committerKévin Gomez <contact@kevingomez.fr>2015-11-13 20:50:09 +0100
commitf27aca26f645b16eea4a33691431aeaa7d4c1ffe (patch)
tree80a210faea040d791263420efcfd70e0a66471cb
parenta6e27f74663637ecc4a4cf84028e6b5a3556a6ff (diff)
downloadwallabag-f27aca26f645b16eea4a33691431aeaa7d4c1ffe.tar.gz
wallabag-f27aca26f645b16eea4a33691431aeaa7d4c1ffe.tar.zst
wallabag-f27aca26f645b16eea4a33691431aeaa7d4c1ffe.zip
Add phpdoc for all Matches implementations
-rw-r--r--src/Wallabag/CoreBundle/Operator/Doctrine/Matches.php10
-rw-r--r--src/Wallabag/CoreBundle/Operator/PHP/Matches.php10
2 files changed, 20 insertions, 0 deletions
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 @@
2 2
3namespace Wallabag\CoreBundle\Operator\Doctrine; 3namespace Wallabag\CoreBundle\Operator\Doctrine;
4 4
5/**
6 * Provides a "matches" operator used for tagging rules.
7 *
8 * It asserts that a given pattern is contained in a subject, in a
9 * case-insensitive way.
10 *
11 * This operator will be used to compile tagging rules in DQL, usable
12 * by Doctrine ORM.
13 * It's registered in RulerZ using a service (wallabag.operator.doctrine.matches);
14 */
5class Matches 15class Matches
6{ 16{
7 public function __invoke($subject, $pattern) 17 public function __invoke($subject, $pattern)
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 @@
2 2
3namespace Wallabag\CoreBundle\Operator\PHP; 3namespace Wallabag\CoreBundle\Operator\PHP;
4 4
5/**
6 * Provides a "matches" operator used for tagging rules.
7 *
8 * It asserts that a given pattern is contained in a subject, in a
9 * case-insensitive way.
10 *
11 * This operator will be used to compile tagging rules in PHP, usable
12 * directly on Entry objects for instance.
13 * It's registered in RulerZ using a service (wallabag.operator.array.matches);
14 */
5class Matches 15class Matches
6{ 16{
7 public function __invoke($subject, $pattern) 17 public function __invoke($subject, $pattern)