MorphPivot::setPivotKeys()

$this setPivotKeys(string $foreignKey, string $otherKey) Set the key names for the pivot model instance. Parameters string $foreignKey string $otherKey Return Value $this

MorphPivot::setPerPage()

$this setPerPage(int $perPage) Set the number of models to return per page. Parameters int $perPage Return Value $this

MorphPivot::setObservableEvents()

$this setObservableEvents(array $observables) Set the observable event names. Parameters array $observables Return Value $this

MorphPivot::setMorphType()

$this setMorphType(string $morphType) Set the morph type for the pivot. Parameters string $morphType Return Value $this

MorphPivot::setMorphClass()

MorphPivot setMorphClass(string $morphClass) Set the morph class for the pivot. Parameters string $morphClass Return Value MorphPivot

MorphPivot::setKeyName()

$this setKeyName(string $key) Set the primary key for the model. Parameters string $key Return Value $this

MorphPivot::setIncrementing()

$this setIncrementing(bool $value) Set whether IDs are incrementing. Parameters bool $value Return Value $this

MorphPivot::setHidden()

$this setHidden(array $hidden) Set the hidden attributes for the model. Parameters array $hidden Return Value $this

MorphPivot::setEventDispatcher()

static void setEventDispatcher(Dispatcher $dispatcher) Set the event dispatcher instance. Parameters Dispatcher $dispatcher Return Value void

MorphPivot::setDateFormat()

$this setDateFormat(string $format) Set the date format used by the model. Parameters string $format Return Value $this