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