WrappingProvider
class WrappingProvider implements ProviderInterface
A wrapping provider overrides an existing API. It has discretion to pass-through to the original API (0 or many times) or to substitute with entirely different behavior.
The WrappingProvider does yield any metadata of its own. It's primarily intended for dynamically decorating an existing API.
Properties
protected callable | $callback | ||
protected ProviderInterface | $original |
Methods
array
invoke(array $apiRequest)
No description
array
getEntityNames(int $version)
No description
array
getActionNames(int $version, string $entity)
No description
Details
at line 59
__construct(callable $callback, ProviderInterface $original)
WrappingProvider constructor.