Use FQCN as service name for Rulerz operators

This commit is contained in:
Yassine Guedidi 2022-04-24 18:26:14 +02:00
parent a5f22ff835
commit 538fd258fe
6 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\Doctrine;
* *
* This operator will be used to compile tagging rules in DQL, usable * This operator will be used to compile tagging rules in DQL, usable
* by Doctrine ORM. * by Doctrine ORM.
* It's registered in RulerZ using a service (wallabag.operator.doctrine.matches); * It's registered in RulerZ using a service;
*/ */
class Matches class Matches
{ {

View File

@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\Doctrine;
* *
* This operator will be used to compile tagging rules in DQL, usable * This operator will be used to compile tagging rules in DQL, usable
* by Doctrine ORM. * by Doctrine ORM.
* It's registered in RulerZ using a service (wallabag.operator.doctrine.notmatches); * It's registered in RulerZ using a service;
*/ */
class NotMatches class NotMatches
{ {

View File

@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\PHP;
* *
* This operator will be used to compile tagging rules in PHP, usable * This operator will be used to compile tagging rules in PHP, usable
* directly on Entry objects for instance. * directly on Entry objects for instance.
* It's registered in RulerZ using a service (wallabag.operator.array.matches); * It's registered in RulerZ using a service;
*/ */
class Matches class Matches
{ {

View File

@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\PHP;
* *
* This operator will be used to compile tagging rules in PHP, usable * This operator will be used to compile tagging rules in PHP, usable
* directly on Entry objects for instance. * directly on Entry objects for instance.
* It's registered in RulerZ using a service (wallabag.operator.array.notmatches); * It's registered in RulerZ using a service;
*/ */
class NotMatches class NotMatches
{ {

View File

@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\PHP;
* *
* This operator will be used to compile ignore origin rules in PHP, usable * This operator will be used to compile ignore origin rules in PHP, usable
* directly on Entry objects for instance. * directly on Entry objects for instance.
* It's registered in RulerZ using a service (wallabag.operator.array.pattern_matches); * It's registered in RulerZ using a service;
*/ */
class PatternMatches class PatternMatches
{ {

View File

@ -153,27 +153,27 @@ services:
- web/img/appicon/apple-touch-icon-152.png - web/img/appicon/apple-touch-icon-152.png
- "@security.token_storage" - "@security.token_storage"
wallabag.operator.array.matches: Wallabag\CoreBundle\Operator\PHP\Matches:
class: Wallabag\CoreBundle\Operator\PHP\Matches class: Wallabag\CoreBundle\Operator\PHP\Matches
tags: tags:
- { name: rulerz.operator, target: native, operator: matches } - { name: rulerz.operator, target: native, operator: matches }
wallabag.operator.doctrine.matches: Wallabag\CoreBundle\Operator\Doctrine\Matches:
class: Wallabag\CoreBundle\Operator\Doctrine\Matches class: Wallabag\CoreBundle\Operator\Doctrine\Matches
tags: tags:
- { name: rulerz.operator, target: doctrine, operator: matches, inline: true } - { name: rulerz.operator, target: doctrine, operator: matches, inline: true }
wallabag.operator.array.notmatches: Wallabag\CoreBundle\Operator\PHP\NotMatches:
class: Wallabag\CoreBundle\Operator\PHP\NotMatches class: Wallabag\CoreBundle\Operator\PHP\NotMatches
tags: tags:
- { name: rulerz.operator, target: native, operator: notmatches } - { name: rulerz.operator, target: native, operator: notmatches }
wallabag.operator.doctrine.notmatches: Wallabag\CoreBundle\Operator\Doctrine\NotMatches:
class: Wallabag\CoreBundle\Operator\Doctrine\NotMatches class: Wallabag\CoreBundle\Operator\Doctrine\NotMatches
tags: tags:
- { name: rulerz.operator, target: doctrine, operator: notmatches, inline: true } - { name: rulerz.operator, target: doctrine, operator: notmatches, inline: true }
wallabag.operator.array.pattern_matches: Wallabag\CoreBundle\Operator\PHP\PatternMatches:
class: Wallabag\CoreBundle\Operator\PHP\PatternMatches class: Wallabag\CoreBundle\Operator\PHP\PatternMatches
tags: tags:
- { name: rulerz.operator, target: native, operator: "~" } - { name: rulerz.operator, target: native, operator: "~" }