LimeSurvey API - Master branch

PatcherSurveyResponses extends Patcher
in package

Table of Contents

Properties

$surveyResponse  : SurveyResponse
$handlers  : array<string|int, mixed>
$opHandlers  : array<string|int, OpHandlerInterface>

Methods

__construct()  : mixed
addOpHandler()  : void
Add operation handler
applyPatch()  : array<string|int, mixed>
Apply patch
handleOp()  : array<string|int, mixed>
Apply operation

Properties

$handlers

private array<string|int, mixed> $handlers = [\LimeSurvey\Libraries\Api\Command\V1\SurveyResponses\patch\OpHandlerResponsesDelete::class, \LimeSurvey\Libraries\Api\Command\V1\SurveyResponses\patch\OpHandlerResponsesUpdate::class, \LimeSurvey\Libraries\Api\Command\V1\SurveyResponses\patch\OpHandlerResponsesFileDelete::class]

$opHandlers

private array<string|int, OpHandlerInterface> $opHandlers = []

Operation handlers to apply operations to entities.

Methods

__construct()

public __construct(ContainerInterface $diContainer, SurveyResponse $surveyResponse) : mixed
Parameters
$diContainer : ContainerInterface
$surveyResponse : SurveyResponse
Tags
throws
ContainerExceptionInterface
throws
NotFoundExceptionInterface

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
throws
ObjectPatchException
throws
OpHandlerException
Return values
array<string|int, mixed>

        
On this page

Search results