laravel-fcm-notification icon indicating copy to clipboard operation
laravel-fcm-notification copied to clipboard

Add orCondition and andCondition methods

Open ViktorLalev opened this issue 5 years ago • 1 comments

ViktorLalev avatar Mar 05 '19 13:03 ViktorLalev

I like this concept, but I think it needs a little work. What if $this->condition is null? I also think andCondition() could just be merged into condition() (similar to the way Laravel handles a where statement), resulting in two methods instead of three: condition() and orCondition(). Thoughts?

benwilkins avatar Mar 05 '19 15:03 benwilkins