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