Documentation

PatchRequest
in package

Table of Contents

ACTION_DISABLE_FEATURE  = 'disable_feature'
ACTION_ENABLE_FEATURE  = 'enable_feature'
ACTION_REMOVE_STRATEGY  = 'remove_strategy'
ACTION_SET_STRATEGY  = 'set_strategy'
$action  : string
$featureId  : string
$requestData  : array<string|int, mixed>|null
__construct()  : mixed
disableFeatureCommand()  : DisableFeature
enableFeatureCommand()  : EnableFeature
isDisableFeatureAction()  : bool
isEnableFeatureAction()  : bool
isRemoveStrategyAction()  : bool
isSetStrategyAction()  : bool
removeStrategyCommand()  : RemoveStrategy
setStrategyCommand()  : SetStrategy

Constants

ACTION_DISABLE_FEATURE

private mixed ACTION_DISABLE_FEATURE = 'disable_feature'

ACTION_ENABLE_FEATURE

private mixed ACTION_ENABLE_FEATURE = 'enable_feature'

ACTION_REMOVE_STRATEGY

private mixed ACTION_REMOVE_STRATEGY = 'remove_strategy'

ACTION_SET_STRATEGY

private mixed ACTION_SET_STRATEGY = 'set_strategy'

Properties

$requestData

private array<string|int, mixed>|null $requestData = null

Methods

__construct()

public __construct(string $featureId, ServerRequestInterface $request) : mixed
Parameters
$featureId : string
$request : ServerRequestInterface
Return values
mixed

isDisableFeatureAction()

public isDisableFeatureAction() : bool
Return values
bool

isEnableFeatureAction()

public isEnableFeatureAction() : bool
Return values
bool

isRemoveStrategyAction()

public isRemoveStrategyAction() : bool
Return values
bool

isSetStrategyAction()

public isSetStrategyAction() : bool
Return values
bool

Search results