Added method for triggers to check whether they match all transactions

This commit is contained in:
Robert Horlings
2016-02-17 13:02:27 +01:00
parent 17dad27610
commit 7c8c82edd7
18 changed files with 157 additions and 0 deletions

View File

@@ -62,4 +62,11 @@ class AmountLess implements TriggerInterface
return false;
}
/**
* Checks whether this trigger will match all transactions
* For example: amount > 0 or description starts with ''
* @return bool
*/
public function matchesAnything() { return false; }
}