class BootPlugins

Properties

static protected array<class-string, list<string>> $methods

The plugin boot methods for each resource class.

Methods

__invoke(PendingRequest $pendingRequest)

Boot the connector and request plugins.

void
boot(Connector|Request $resource, PendingRequest $pendingRequest)

Boot the plugins used by the resource.

array
methods(Connector|Request $resource)

Resolve the plugin boot methods used by the resource.

static void
flushState()

Flush all static state.

Details

at line 23
PendingRequest __invoke(PendingRequest $pendingRequest)

Boot the connector and request plugins.

Parameters

PendingRequest $pendingRequest

Return Value

PendingRequest

at line 34
protected void boot(Connector|Request $resource, PendingRequest $pendingRequest)

Boot the plugins used by the resource.

Parameters

Connector|Request $resource
PendingRequest $pendingRequest

Return Value

void

at line 46
protected array methods(Connector|Request $resource)

Resolve the plugin boot methods used by the resource.

Parameters

Connector|Request $resource

Return Value

array

at line 64
static void flushState()

Flush all static state.

Return Value

void