HasSettings
HasSettings
Table of Contents
- morphMany() : MorphMany
- Define a polymorphic one-to-many relationship.
- settings() : MorphMany
- Model has settings.
Methods
morphMany()
Define a polymorphic one-to-many relationship.
public
abstract morphMany(string $related, string $name[, string|null $type = null ][, string|null $id = null ][, string|null $localKey = null ]) : MorphMany
Parameters
- $related : string
- $name : string
- $type : string|null = null
- $id : string|null = null
- $localKey : string|null = null
Tags
Return values
MorphMany —settings()
Model has settings.
public
settings() : MorphMany