Serializor\SerializableClosure class

Documentation

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

Properties (2)

private Closure $closure
private static ?string $secret

Methods (9)

Documentation missing

Resolve the closure with the given arguments.

Get the Closure object.

Create a new unsigned serializable closure instance.

Hook into PHP serialization

Hook into PHP unserialization

Sets the serializable closure secret key.

Source

src/SerializableClosure.php:15-101