Skip to content

Commit 349156d

Browse files
authored
Remove base model change instructions from docs
Removed instructions for changing the base model in the publishing configuration documentation.
1 parent 34db9ab commit 349156d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

docs/configuration/publishing-config.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,6 @@ In the `workflows.php` config file you can update the model classes to use your
4141
'stored_workflow_timer_model' => App\Models\StoredWorkflowTimer::class,
4242
```
4343

44-
## Changing Base Model
45-
46-
By default, the workflow models extend `Illuminate\Database\Eloquent\Model` but some packages like https://github.com/mongodb/laravel-mongodb require you to extend their model, such as in this example, `MongoDB\Laravel\Eloquent\Model`.
47-
48-
This can be changed by updating the `base_model` setting.
49-
50-
```php
51-
'base_model' => Illuminate\Database\Eloquent\Model::class,
52-
```
53-
54-
It should now look like this.
55-
56-
```php
57-
'base_model' => MongoDB\Laravel\Eloquent\Model::class,
58-
```
59-
6044
## Changing Serializer
6145

6246
This setting allows you to optionally use the Base64 serializer instead of Y (kind of like yEnc encoding where it only gets rid of null bytes). The tradeoff is between speed and size. Base64 is faster but adds more overhead. Y is slower but a lot smaller. If you change this it will only affect new workflows and old workflows will revert to whatever they were encoded with to ensure compatibility.

0 commit comments

Comments
 (0)