@@ -2,16 +2,16 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\EventProjector\Models; |
4 | 4 | |
5 | -use Exception; |
|
6 | 5 | use Carbon\Carbon; |
7 | -use Illuminate\Support\Arr; |
|
8 | -use Illuminate\Database\Eloquent\Model; |
|
6 | +use Exception; |
|
9 | 7 | use Illuminate\Database\Eloquent\Builder; |
10 | -use Spatie\EventProjector\ShouldBeStored; |
|
8 | +use Illuminate\Database\Eloquent\Model; |
|
9 | +use Illuminate\Support\Arr; |
|
10 | +use Spatie\EventProjector\EventSerializers\EventSerializer; |
|
11 | +use Spatie\EventProjector\Exceptions\InvalidStoredEvent; |
|
11 | 12 | use Spatie\EventProjector\Facades\Projectionist; |
13 | +use Spatie\EventProjector\ShouldBeStored; |
|
12 | 14 | use Spatie\SchemalessAttributes\SchemalessAttributes; |
13 | -use Spatie\EventProjector\Exceptions\InvalidStoredEvent; |
|
14 | -use Spatie\EventProjector\EventSerializers\EventSerializer; |
|
15 | 15 | |
16 | 16 | class StoredEvent extends Model |
17 | 17 | { |