UserVirtualGroup
class UserVirtualGroup extends Entity
Properties
| protected array | $original | The entity attribute's original state. | from Entity |
| $hidden | The attributes that should be hidden for arrays. | from Entity | |
| protected array | $fillable | The attributes that are mass assignable. | from Entity |
| protected array | $guarded | The attributes that aren't mass assignable. | from Entity |
| bool | $exists | Indicates if the entity exists. | from Entity |
Methods
array
getOriginal(string|null $key = null, mixed $default = null)
Get the entity's original attribute values.
from Entity
Details
in Entity at line 72
__construct(array $attributes = array())
Constructor
in Entity at line 84
$this
syncOriginal()
Sync the original attributes with the current.
in Entity at line 98
array
getOriginal(string|null $key = null, mixed $default = null)
Get the entity's original attribute values.
in Entity at line 109
$this
fill(array $attributes)
Fill the model with an array of attributes.
in Entity at line 126
bool
isFillable(string $key)
Determine if the given attribute may be mass assigned.
in Entity at line 145
bool
isGuarded(string $key)
Determine if the given key is guarded.
in Entity at line 155
array
getDirty()
Get the attributes that have been changed since last sync.
in Entity at line 165
array
toArray()
Convert the entity instance to an array.