CanReplicateRecords
trait CanReplicateRecords (View source)
Traits
Properties
protected Closure|null | $using | from CanCustomizeProcess | |
protected Closure|null | $afterReplicaSavedCallback | ||
protected Closure|null | $beforeReplicaSavedCallback | ||
protected array|Closure|null | $excludedAttributes | ||
protected Closure|null | $mutateRecordDataUsing |
Methods
static string|null
getDefaultName()
No description
void
setUp()
No description
excludeAttributes(array|Closure|null $attributes)
No description
void
callBeforeReplicaSaved(Model $replica)
No description
callAfterReplicaSaved(Model $replica)
No description
array|null
getExcludedAttributes()
No description
Details
CanCustomizeProcess
using(Closure|null $using)
No description
process(Closure|null $default, array $parameters = [])
No description
static string|null
getDefaultName()
No description
protected void
setUp()
No description
CanReplicateRecords
beforeReplicaSaved(Closure $callback)
No description
CanReplicateRecords
afterReplicaSaved(Closure $callback)
No description
CanReplicateRecords
excludeAttributes(array|Closure|null $attributes)
No description
void
callBeforeReplicaSaved(Model $replica)
No description
callAfterReplicaSaved(Model $replica)
No description
array|null
getExcludedAttributes()
No description
CanReplicateRecords
mutateRecordDataUsing(Closure|null $callback)
No description