Property | Type | Description | |
---|---|---|---|
$conditions | of element in the condition |
Method | Description | |
---|---|---|
andTopic ( string | Closur\Closure $first ) : |
Add a and condition to the precedent topic set | |
build ( ) : array | string | Transform to array | |
hasOnlyOneTopic ( ) : boolean | Check if only one topic was set | |
nest ( Closure $callback, $condition ) | ||
orTopic ( string | Closur\Closure $first ) : |
Add a or condition to the precedent topic set | |
topic ( string $first ) | Add a topic, this method should be called before any conditional topic |
Method | Description | |
---|---|---|
checkIfOneTopicExist ( ) | ||
on ( $first, $condition ) | ||
topicsForFcm ( $conditions ) : string |
public hasOnlyOneTopic ( ) : boolean | ||
return | boolean |