PatternEndpointProvider
in package
Provides endpoints based on an endpoint pattern configuration array.
Table of Contents
Methods
- __construct() : mixed
- __invoke() : mixed
Methods
__construct()
public
__construct(array<string|int, mixed> $patterns) : mixed
Parameters
- $patterns : array<string|int, mixed>
-
Hash of endpoint patterns mapping to endpoint configurations.
__invoke()
public
__invoke([array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $args : array<string|int, mixed> = []