You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -116,7 +116,7 @@ being prefixed by their relation path relative to the main model. This is done t
116
116
117
117
To capture related attributes you need to provide a RelationDefinition(s):
118
118
```php
119
-
use Dvarilek\CompleteModelSnapshot\ValueObjects\{SnapshotDefinition, RelationDefinition}
119
+
use Dvarilek\LaravelSnap\ValueObjects\{SnapshotDefinition, RelationDefinition}
120
120
121
121
SnapshotDefinition::make()
122
122
->captureRelations([
@@ -149,7 +149,7 @@ SnapshotDefinition::make()
149
149
For deeply nested related attributes the same prefix rules apply. You can capture them
150
150
by capturing them like this:
151
151
```php
152
-
use Dvarilek\CompleteModelSnapshot\ValueObjects\{SnapshotDefinition, RelationDefinition}
152
+
use Dvarilek\LaravelSnap\ValueObjects\{SnapshotDefinition, RelationDefinition}
153
153
154
154
SnapshotDefinition::make()
155
155
->captureRelations([
@@ -180,7 +180,7 @@ SnapshotDefinition::make()
180
180
A single model can have multiple snapshots. To create new snapshot call the takeSnapshot method on your Snapshotable model.
181
181
182
182
```php
183
-
use Dvarilek\CompleteModelSnapshot\Models\Snapshot;
183
+
use Dvarilek\LaravelSnap\Models\Snapshot;
184
184
use Illuminate\Database\Eloquent\Model;
185
185
186
186
/** @var Snapshot&Model $snapshot */
@@ -247,7 +247,7 @@ Since snapshot attributes are stored in a json column, they can't be queried dir
247
247
the JSON column. For more information about JSON querying see the [**Official Laravel Documentation**](https://laravel.com/docs/10.x/queries#json-where-clauses)
248
248
249
249
```php
250
-
use Dvarilek\CompleteModelSnapshot\Models\Snapshot;
250
+
use Dvarilek\LaravelSnap\Models\Snapshot;
251
251
252
252
// For captured attribute by the name 'custodian_name'
0 commit comments