Re-order rule groups.

This commit is contained in:
James Cole
2016-01-14 09:53:59 +01:00
parent 521623797e
commit 97770da619
3 changed files with 80 additions and 2 deletions

View File

@@ -70,4 +70,16 @@ interface RuleRepositoryInterface
*/
public function moveRuleDown(Rule $rule);
/**
* @param RuleGroup $ruleGroup
* @return bool
*/
public function moveRuleGroupUp(RuleGroup $ruleGroup);
/**
* @param RuleGroup $ruleGroup
* @return bool
*/
public function moveRuleGroupDown(RuleGroup $ruleGroup);
}