interface Castable (View source)

Methods

castUsing()

Get the name of the caster class to use when casting from / to this cast target.

Details

static string|CastsAttributes|CastsInboundAttributes castUsing()

Get the name of the caster class to use when casting from / to this cast target.

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.