QuestionGroupModelTrait
Table of Contents
Properties
- $questionGroup : mixed
Methods
- getQuestionGroupModel() : QuestionGroup
- Get Question Group
- setQuestionGroupModel() : void
- Set Question Group
Properties
$questionGroup
private
mixed
$questionGroup
= null
Methods
getQuestionGroupModel()
Get Question Group
public
getQuestionGroupModel(int $id) : QuestionGroup
Used as a proxy for providing a mock record during testing.
Parameters
- $id : int
Return values
QuestionGroupsetQuestionGroupModel()
Set Question Group
public
setQuestionGroupModel(QuestionGroup $questionGroup) : void
Used to set mock record during testing.
Parameters
- $questionGroup : QuestionGroup