Class · extends AbstractModel
A notification rule.
public function createTable($drop = false)Create table schema
Parameters
| Type | Name | Description |
|---|---|---|
bool|false | $drop | Drop pre-existing tables |
public function triggerNotification(Notification $notification)public static function rebuildCache()Rebuild rule cache.
public static function getCache()Get cached rules.
Returns array
public function scopeActive(Builder $query)The filter for the Active scope
Parameters
| Type | Name | Description |
|---|---|---|
Builder | $query |
Returns Builder