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

using(Closure|null $using)

No description

mixed
process(Closure|null $default, array $parameters = [])

No description

static string|null
getDefaultName()

No description

void
setUp()

No description

beforeReplicaSaved(Closure|null $callback)

No description

mutateRecordDataUsing(Closure|null $callback)

No description

afterReplicaSaved(Closure|null $callback) deprecated

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

Parameters

Closure|null $using

Return Value

CanCustomizeProcess

mixed process(Closure|null $default, array $parameters = [])

No description

Parameters

Closure|null $default
array $parameters

Return Value

mixed

static string|null getDefaultName()

No description

Return Value

string|null

protected void setUp()

No description

Return Value

void

CanReplicateRecords beforeReplicaSaved(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

CanReplicateRecords

CanReplicateRecords mutateRecordDataUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

CanReplicateRecords

CanReplicateRecords afterReplicaSaved(Closure|null $callback) deprecated

deprecated Use `after()` instead.

No description

Parameters

Closure|null $callback

Return Value

CanReplicateRecords

CanReplicateRecords excludeAttributes(array|Closure|null $attributes)

No description

Parameters

array|Closure|null $attributes

Return Value

CanReplicateRecords

void callBeforeReplicaSaved()

No description

Return Value

void

array|null getExcludedAttributes()

No description

Return Value

array|null

| null

Model|null getReplica()

No description

Return Value

Model|null

protected array resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

Parameters

string $parameterName

Return Value

array