ModelInfo
class ModelInfo implements Arrayable, ArrayAccess (View source)
| internal |
Methods
__construct($class, $database, $table, $policy, $attributes, $relations, $events, $observers, $collection, $builder, $resource)
No description
toArray()
Convert the model info to an array.
bool
offsetExists(mixed $offset)
Determine if the given offset exists.
mixed
offsetGet(mixed $offset)
Get the value for a given offset.
void
offsetSet(mixed $offset, mixed $value)
Set the value at the given offset.
void
offsetUnset(mixed $offset)
Unset the value at the given offset.
Details
__construct($class, $database, $table, $policy, $attributes, $relations, $events, $observers, $collection, $builder, $resource)
No description
toArray()
Convert the model info to an array.
bool
offsetExists(mixed $offset)
Determine if the given offset exists.
mixed
offsetGet(mixed $offset)
Get the value for a given offset.
void
offsetSet(mixed $offset, mixed $value)
Set the value at the given offset.
void
offsetUnset(mixed $offset)
Unset the value at the given offset.