mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Added method for triggers to check whether they match all transactions
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user