Serializor\UnsignedSerializableClosure class

Documentation

Implementation of UnsignedSerializableClosure to be compatible with Opis/Closure and Laravel/SerializableClosure.

Properties (2)

private static ?Serializor\Codec $serializor

Singleton of the default Serializor instance which

protected mixed $closure

The closure's serializable.

Methods (6)

Creates a new serializable closure instance.

Resolve the closure with the given arguments.

Gets the closure.

Get the serializable representation of the closure.

Restore the closure after serialization.

Returns a default instance of Serializor which does not check

Source

src/UnsignedSerializableClosure.php:15-98