Methods |
public
|
__construct(array|object $attributes = []): void
Create a new fluent instance.
Create a new fluent instance.
Overriden by
|
#
|
public
|
get(string $key, mixed $default = null): mixed
Get an attribute from the fluent instance.
Get an attribute from the fluent instance.
|
#
|
public
|
getAttributes(): array
Get the attributes from the fluent instance.
Get the attributes from the fluent instance.
|
#
|
public
|
toArray(): array
Convert the fluent instance to an array.
Convert the fluent instance to an array.
Implements
|
#
|
public
|
jsonSerialize(): array
Convert the object into something JSON serializable.
Convert the object into something JSON serializable.
Implements
|
#
|
public
|
toJson(int $options = 0): string
Convert the fluent instance to JSON.
Convert the fluent instance to JSON.
Implements
|
#
|
public
|
offsetExists(string $offset): bool
Determine if the given offset exists.
Determine if the given offset exists.
Implements
|
#
|
public
|
offsetGet(string $offset): mixed
Get the value for a given offset.
Get the value for a given offset.
Implements
|
#
|
public
|
offsetSet(string $offset, mixed $value): void
Set the value at the given offset.
Set the value at the given offset.
Implements
|
#
|
public
|
offsetUnset(string $offset): void
Unset the value at the given offset.
Unset the value at the given offset.
Implements
|
#
|
public
|
__call(string $method, array $parameters): $this
Handle dynamic calls to the fluent instance to set attributes.
Handle dynamic calls to the fluent instance to set attributes.
|
#
|
public
|
__get(string $key): mixed
Dynamically retrieve the value of an attribute.
Dynamically retrieve the value of an attribute.
|
#
|
public
|
__set(string $key, mixed $value): void
Dynamically set the value of an attribute.
Dynamically set the value of an attribute.
|
#
|
public
|
__isset(string $key): bool
Dynamically check if an attribute is set.
Dynamically check if an attribute is set.
|
#
|
public
|
__unset(string $key): void
Dynamically unset an attribute.
Dynamically unset an attribute.
|
#
|