ModelInfo
class ModelInfo implements Arrayable, ArrayAccess
| internal |
Methods
__construct(string $class, string|null $database, string $table, string|null $policy, Collection $attributes, Collection $relations, Collection $events, Collection $observers, string $collection, string $builder, string|null $resource)
Create a new model info instance.
array
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
at line 38
__construct(string $class, string|null $database, string $table, string|null $policy, Collection $attributes, Collection $relations, Collection $events, Collection $observers, string $collection, string $builder, string|null $resource)
Create a new model info instance.
at line 70
array
toArray()
Convert the model info to an array.
at line 90
bool
offsetExists(mixed $offset)
Determine if the given offset exists.
at line 100
mixed
offsetGet(mixed $offset)
Get the value for a given offset.
at line 110
void
offsetSet(mixed $offset, mixed $value)
Set the value at the given offset.
at line 120
void
offsetUnset(mixed $offset)
Unset the value at the given offset.