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