array getAttributes() Get all of the current attributes on the model. Return Value array
mixed getAttribute(string $key) Get an attribute from the model. Parameters string $key Return Value mixed
string getActualClassNameForMorph(string $class) Retrieve the fully qualified class name from a slug. Parameters string $class Return Value string
mixed fromJson(string $value, bool $asObject = false) Decode the given JSON back into an array or object. Parameters string $value bool $asObject Return Value mixed
string fromDateTime(DateTime|int $value) Convert a DateTime to a storable string. Parameters DateTime|int $value Return Value string
string freshTimestampString() Get a fresh timestamp for the model. Return Value string
Carbon freshTimestamp() Get a fresh timestamp for the model. Return Value Carbon
Model|null fresh(array|string $with = array()) Reload a fresh model instance from the database. Parameters array|string $with Return Value Model|null
$this forceFill(array $attributes) Fill the model with an array of attributes. Force mass assignment. Parameters array $attributes Return Value $this
bool|null forceDelete() Force a hard delete on a soft deleted model. This method protects developers from running forceDelete when trait is missing. Return Value bool|null
Page 764 of 996