PatcherSurvey
extends Patcher
in package
Table of Contents
Properties
- $surveyResponse : SurveyResponse
- $opHandlers : mixed
Methods
- __construct() : mixed
- Constructor
- addOpHandler() : void
- Add operation handler
- applyPatch() : array<string|int, mixed>
- Apply patch
- handleOp() : array<string|int, mixed>
- Apply operation
Properties
$surveyResponse
protected
SurveyResponse
$surveyResponse
$opHandlers
private
mixed
$opHandlers
= []
Methods
__construct()
Constructor
public
__construct(ContainerInterface $diContainer, SurveyResponse $surveyResponse) : mixed
Parameters
- $diContainer : ContainerInterface
- $surveyResponse : SurveyResponse
Tags
addOpHandler()
Add operation handler
public
addOpHandler(OpHandlerInterface $opHandler) : void
Parameters
- $opHandler : OpHandlerInterface
applyPatch()
Apply patch
public
applyPatch(mixed|null $patch[, array<string|int, mixed>|null $context = [] ]) : array<string|int, mixed>
Parameters
- $patch : mixed|null
- $context : array<string|int, mixed>|null = []
Tags
Return values
array<string|int, mixed>handleOp()
Apply operation
public
handleOp(OpInterface $op) : array<string|int, mixed>
Parameters
- $op : OpInterface