WIP : Refactor contraint/rule becomes conditions (more generic)
This commit is contained in:
@@ -40,7 +40,7 @@ use Thelia\Condition\ConditionManagerAbstract;
|
||||
class MatchForEveryoneManager extends ConditionManagerAbstract
|
||||
{
|
||||
/** @var string Service Id from Resources/config.xml */
|
||||
protected $serviceId = 'thelia.constraint.rule.available_for_everyone';
|
||||
protected $serviceId = 'thelia.condition.match_for_everyone';
|
||||
|
||||
/** @var array Available Operators (Operators::CONST) */
|
||||
protected $availableOperators = array();
|
||||
|
||||
@@ -51,7 +51,7 @@ class MatchForTotalAmountManager extends ConditionManagerAbstract
|
||||
CONST INPUT2 = 'currency';
|
||||
|
||||
/** @var string Service Id from Resources/config.xml */
|
||||
protected $serviceId = 'thelia.constraint.rule.available_for_total_amount';
|
||||
protected $serviceId = 'thelia.condition.match_for_total_amount';
|
||||
|
||||
/** @var array Available Operators (Operators::CONST) */
|
||||
protected $availableOperators = array(
|
||||
|
||||
@@ -46,7 +46,7 @@ class MatchForXArticlesManager extends ConditionManagerAbstract
|
||||
CONST INPUT1 = 'quantity';
|
||||
|
||||
/** @var string Service Id from Resources/config.xml */
|
||||
protected $serviceId = 'thelia.constraint.rule.available_for_x_articles';
|
||||
protected $serviceId = 'thelia.condition.match_for_x_articles';
|
||||
|
||||
/** @var array Available Operators (Operators::CONST) */
|
||||
protected $availableOperators = array(
|
||||
|
||||
Reference in New Issue
Block a user