SimplePipelineProvider
in package
implements
PipelineProvider
Table of Contents
Interfaces
- PipelineProvider
- Provide `Pipeline` of specific type of `Interceptor`.
Properties
- $cache : array<string|int, mixed>
- $interceptors : iterable<string|int, mixed>
Methods
- __construct() : mixed
- getPipeline() : Pipeline<T, mixed>
Properties
$cache
private
array<string|int, mixed>
$cache
= []
$interceptors
private
iterable<string|int, mixed>
$interceptors
= []
Methods
__construct()
public
__construct([array<string|int, Interceptor> $interceptors = [] ]) : mixed
Parameters
- $interceptors : array<string|int, Interceptor> = []
getPipeline()
public
getPipeline(string $interceptorClass) : Pipeline<T, mixed>
Parameters
- $interceptorClass : string
-
Only interceptors of this type will be returned in pipeline.