mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Added method for triggers to check whether they match all transactions
This commit is contained in:
@@ -62,4 +62,11 @@ class AmountExactly 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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user