trait CanUpdateState (View source)

Properties

protected Closure|null $updateStateUsing
protected Closure|null $beforeStateUpdated
protected Closure|null $afterStateUpdated

Methods

updateStateUsing(Closure|null $callback)

No description

beforeStateUpdated(Closure|null $callback)

No description

afterStateUpdated(Closure|null $callback)

No description

mixed
updateState(mixed $state)

No description

mixed
callBeforeStateUpdated(mixed $state)

No description

mixed
callAfterStateUpdated(mixed $state)

No description

Details

CanUpdateState updateStateUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

CanUpdateState

CanUpdateState beforeStateUpdated(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

CanUpdateState

CanUpdateState afterStateUpdated(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

CanUpdateState

mixed updateState(mixed $state)

No description

Parameters

mixed $state

Return Value

mixed

mixed callBeforeStateUpdated(mixed $state)

No description

Parameters

mixed $state

Return Value

mixed

mixed callAfterStateUpdated(mixed $state)

No description

Parameters

mixed $state

Return Value

mixed