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

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