PatchFeature
in package
implements
RequestHandlerInterface
Interfaces, Classes and Traits
- RequestHandlerInterface
Table of Contents
- $disableFeature : DisableFeature
- $enableFeature : EnableFeature
- $removeStrategy : RemoveStrategy
- $responseFactory : ResponseFactoryInterface
- $setStrategy : SetStrategy
- __construct() : mixed
- handle() : ResponseInterface
- handleRequest() : void
Properties
$disableFeature
private
DisableFeature
$disableFeature
$enableFeature
private
EnableFeature
$enableFeature
$removeStrategy
private
RemoveStrategy
$removeStrategy
$responseFactory
private
ResponseFactoryInterface
$responseFactory
$setStrategy
private
SetStrategy
$setStrategy
Methods
__construct()
public
__construct(SetStrategy $setStrategy, RemoveStrategy $removeStrategy, EnableFeature $enableFeature, DisableFeature $disableFeature, ResponseFactoryInterface $responseFactory) : mixed
Parameters
- $setStrategy : SetStrategy
- $removeStrategy : RemoveStrategy
- $enableFeature : EnableFeature
- $disableFeature : DisableFeature
- $responseFactory : ResponseFactoryInterface
Return values
mixed —handle()
public
handle(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterface —handleRequest()
private
handleRequest(string $featureId, ServerRequestInterface $request) : void
Parameters
- $featureId : string
- $request : ServerRequestInterface