Use FQCN as service name for Rulerz operators
This commit is contained in:
parent
a5f22ff835
commit
538fd258fe
@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\Doctrine;
|
||||
*
|
||||
* 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);
|
||||
* It's registered in RulerZ using a service;
|
||||
*/
|
||||
class Matches
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\Doctrine;
|
||||
*
|
||||
* 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.notmatches);
|
||||
* It's registered in RulerZ using a service;
|
||||
*/
|
||||
class NotMatches
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\PHP;
|
||||
*
|
||||
* 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);
|
||||
* It's registered in RulerZ using a service;
|
||||
*/
|
||||
class Matches
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\PHP;
|
||||
*
|
||||
* 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.notmatches);
|
||||
* It's registered in RulerZ using a service;
|
||||
*/
|
||||
class NotMatches
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ namespace Wallabag\CoreBundle\Operator\PHP;
|
||||
*
|
||||
* This operator will be used to compile ignore origin rules in PHP, usable
|
||||
* 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
|
||||
{
|
||||
|
@ -153,27 +153,27 @@ services:
|
||||
- web/img/appicon/apple-touch-icon-152.png
|
||||
- "@security.token_storage"
|
||||
|
||||
wallabag.operator.array.matches:
|
||||
Wallabag\CoreBundle\Operator\PHP\Matches:
|
||||
class: Wallabag\CoreBundle\Operator\PHP\Matches
|
||||
tags:
|
||||
- { name: rulerz.operator, target: native, operator: matches }
|
||||
|
||||
wallabag.operator.doctrine.matches:
|
||||
Wallabag\CoreBundle\Operator\Doctrine\Matches:
|
||||
class: Wallabag\CoreBundle\Operator\Doctrine\Matches
|
||||
tags:
|
||||
- { name: rulerz.operator, target: doctrine, operator: matches, inline: true }
|
||||
|
||||
wallabag.operator.array.notmatches:
|
||||
Wallabag\CoreBundle\Operator\PHP\NotMatches:
|
||||
class: Wallabag\CoreBundle\Operator\PHP\NotMatches
|
||||
tags:
|
||||
- { name: rulerz.operator, target: native, operator: notmatches }
|
||||
|
||||
wallabag.operator.doctrine.notmatches:
|
||||
Wallabag\CoreBundle\Operator\Doctrine\NotMatches:
|
||||
class: Wallabag\CoreBundle\Operator\Doctrine\NotMatches
|
||||
tags:
|
||||
- { 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
|
||||
tags:
|
||||
- { name: rulerz.operator, target: native, operator: "~" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user