1 | <?php |
||
9 | class StoredEvent extends Model |
||
10 | { |
||
11 | public $guarded = []; |
||
12 | |||
13 | public $timestamps = false; |
||
14 | |||
15 | public $casts = [ |
||
16 | 'event_properties' => 'array', |
||
17 | 'meta_data' => 'array', |
||
18 | ]; |
||
19 | |||
20 | public function toStoredEventData(): StoredEventData |
||
31 | |||
32 | public function getEventAttribute(): ShouldBeStored |
||
36 | |||
37 | public function scopeStartingFrom(Builder $query, int $storedEventId): void |
||
41 | |||
42 | public function scopeUuid(Builder $query, string $uuid): void |
||
46 | } |
||
47 |