class SerializableClosureFactory (View source)

deprecated This class will be removed in Laravel 9.

Methods

static SerializableClosure
make(Closure $closure)

Creates a new serializable closure from the given closure.

Details

static SerializableClosure make(Closure $closure)

Creates a new serializable closure from the given closure.

Parameters

Closure $closure

Return Value

SerializableClosure

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.