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