HasState
trait HasState (View source)
Properties
protected string|null | $statePath |
Methods
void
callAfterStateHydrated()
No description
bool
callAfterStateUpdated(string $path)
No description
void
callBeforeStateDehydrated()
No description
array
dehydrateState(array $state = [])
No description
array
mutateDehydratedState(array $state = [])
No description
void
hydrateState(array|null $hydratedDefaultState)
No description
void
fillStateWithNull()
No description
array
getState(bool $shouldCallHooksBefore = true)
No description
Arrayable
getRawState()
No description
array
getStateOnly(array $keys)
No description
array
getStateExcept(array $keys)
No description
string
getStatePath(bool $isAbsolute = true)
No description
Details
void
callAfterStateHydrated()
No description
bool
callAfterStateUpdated(string $path)
No description
void
callBeforeStateDehydrated()
No description
array
dehydrateState(array $state = [])
No description
array
mutateDehydratedState(array $state = [])
No description
HasState
fill(array|null $state = null)
No description
void
hydrateState(array|null $hydratedDefaultState)
No description
void
fillStateWithNull()
No description
HasState
statePath(string|null $path)
No description
array
getState(bool $shouldCallHooksBefore = true)
No description
Arrayable
getRawState()
No description
array
getStateOnly(array $keys)
No description
array
getStateExcept(array $keys)
No description
string
getStatePath(bool $isAbsolute = true)
No description