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
Found relationships will typically generate a return value based on the name of the relationship.
295
+
296
+
If your custom relationships don't follow this traditional naming scheme you can define its return type manually. The available options are `many` and `morphTo`.
297
+
298
+
```php
299
+
'additional_relation_return_types' => [
300
+
'externalHasMultiple' => 'many'
301
+
],
302
+
```
303
+
282
304
#### Model Hooks
283
305
284
306
If you need additional information on your model from sources that are not handled by default, you can hook in to the
0 commit comments