PromptDisplayRuleRepository
extends BaseRepository
Table of Contents
Methods
-
addRulesForPrompt()
: void
-
deleteByPromptId()
: void
-
getRulesForPromptsAndChildren()
: mixed
addRulesForPrompt()
public
addRulesForPrompt(int $promptId, array<string|int, RuleDto> $rules) : void
Parameters
-
$promptId
: int
-
-
$rules
: array<string|int, RuleDto>
-
deleteByPromptId()
public
deleteByPromptId(int $promptId) : void
Parameters
-
$promptId
: int
-
getRulesForPromptsAndChildren()
public
getRulesForPromptsAndChildren(array<string|int, int> $promptsIds) : mixed
Parameters
-
$promptsIds
: array<string|int, int>
-