HasState
trait HasState (View source)
Properties
protected string|null | $statePath | ||
Model|null | $record | ||
protected array<string,mixed> | $state | ||
protected string | $cachedAbsoluteStatePath |
Methods
string
getStatePath(bool $isAbsolute = true)
No description
Model|array
getState()
No description
Model|null
getRecord()
No description
void
flushCachedAbsoluteStatePath()
No description
Details
HasState
state(array|null $state)
No description
HasState
statePath(string|null $path)
No description
HasState
record(Model|null $record)
No description
string
getStatePath(bool $isAbsolute = true)
No description
Model|array
getState()
No description
Model|null
getRecord()
No description
protected void
flushCachedAbsoluteStatePath()
No description