Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | 'event_class' => $this->event_class, |
||
28 | 'meta_data' => $this->meta_data, |
||
29 | 'created_at' => $this->created_at, |
||
30 | ]); |
||
31 | } |
||
32 | |||
33 | public function getEventAttribute(): ShouldBeStored |
||
34 | { |
||
35 | return $this->toStoredEventData()->event; |
||
36 | } |
||
37 | |||
38 | public function scopeStartingFrom(Builder $query, int $storedEventId): void |
||
39 | { |
||
40 | $query->where('id', '>=', $storedEventId); |
||
48 |