Menu

## UnsignedSerializableClosure
in package

UnsignedSerializableClosure.php : 8

### Table of Contents

#### Properties

$serializable : Serializable
  The closure's serializable.

#### Methods

__construct() : void
  Creates a new serializable closure instance.
__invoke() : mixed
  Resolve the closure with the given arguments.
__serialize() : array<string|int, mixed>
  Get the serializable representation of the closure.
__unserialize() : void
  Restore the closure after serialization.
getClosure() : Closure
  Gets the closure.

### Properties

#### $serializable

UnsignedSerializableClosure.php : 15

The closure's serializable.

`protected Serializable $serializable`

### Methods

#### __construct()

UnsignedSerializableClosure.php : 23

Creates a new serializable closure instance.

`public __construct(Closure $closure) : void`

##### Parameters

$closure : Closure

#### __invoke()

UnsignedSerializableClosure.php : 37

Resolve the closure with the given arguments.

`public __invoke() : mixed`

#### __serialize()

UnsignedSerializableClosure.php : 65

Get the serializable representation of the closure.

`public __serialize() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

#### __unserialize()

UnsignedSerializableClosure.php : 78

Restore the closure after serialization.

`public __unserialize(array<string|int, mixed> $data) : void`

##### Parameters

$data : array<string|int, mixed>

#### getClosure()

UnsignedSerializableClosure.php : 51

Gets the closure.

`public getClosure() : Closure`

##### Return values

Closure

## Search results