mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 07:47:28 +01:00
Add phpdoc for all Matches implementations
This commit is contained in:
parent
a6e27f7466
commit
f27aca26f6
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user