Visibility
class Visibility extends Model
The visibility of a model.
Traits
Some models have fixed, "constant" instances. An example is the Role model, which may have e.g. the roles "admin" and "user". These are always the same and do not change.
HasFactory
Constants
INSTANCES |
The constant instances of this model. |
Properties
bool | $timestamps | Don't maintain timestamps for this model. |
Methods
static mixed
__callStatic(string $key, mixed $arguments)
Get one of the instances of this model that are defined in the INSTANCES constant array.
from
HasConstantInstances
static Visibility
public()
No description
static int
publicId()
No description
static Visibility
private()
No description
static int
privateId()
No description
Details
in
HasConstantInstances at line 35
static mixed
__callStatic(string $key, mixed $arguments)
Get one of the instances of this model that are defined in the INSTANCES constant array.
at line 17
static Visibility
public()
No description
at line 17
static int
publicId()
No description
at line 17
static Visibility
private()
No description
at line 17
static int
privateId()
No description