Methods |
public
|
getHidden(): array
Get the hidden attributes for the model.
Get the hidden attributes for the model.
|
#
|
public
|
setHidden(array $hidden): $this
Set the hidden attributes for the model.
Set the hidden attributes for the model.
|
#
|
public
|
getVisible(): array
Get the visible attributes for the model.
Get the visible attributes for the model.
|
#
|
public
|
setVisible(array $visible): $this
Set the visible attributes for the model.
Set the visible attributes for the model.
|
#
|
public
|
makeVisible(array|string|null $attributes): $this
Make the given, typically hidden, attributes visible.
Make the given, typically hidden, attributes visible.
|
#
|
public
|
makeVisibleIf(bool|Closure $condition, array|string|null $attributes): $this
Make the given, typically hidden, attributes visible if the given truth test passes.
Make the given, typically hidden, attributes visible if the given truth test passes.
|
#
|
public
|
makeHidden(array|string|null $attributes): $this
Make the given, typically visible, attributes hidden.
Make the given, typically visible, attributes hidden.
|
#
|
public
|
makeHiddenIf(bool|Closure $condition, array|string|null $attributes): $this
Make the given, typically visible, attributes hidden if the given truth test passes.
Make the given, typically visible, attributes hidden if the given truth test passes.
|
#
|