We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e378701 commit 69f0527Copy full SHA for 69f0527
src/Models/Interest.php
@@ -13,6 +13,13 @@ class Interest extends Model
13
*/
14
protected $table;
15
16
+ /**
17
+ * The event map for the model.
18
+ *
19
+ * @var array
20
+ */
21
+ protected $dispatchesEvents;
22
+
23
/**
24
* The attributes that are mass assignable.
25
*
@@ -37,6 +44,8 @@ class Interest extends Model
37
44
38
45
public function __construct(array $attributes = [])
39
46
{
47
+ $this->dispatchesEvents = config('exponent-push-notifications.interests.database.events');
48
40
49
$this->table = config('exponent-push-notifications.interests.database.table_name');
41
50
42
51
parent::__construct($attributes);
0 commit comments