TestsRepository
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- addBehaviourTest() : mixed
- addEmotionTest() : mixed
- addPhq9Test() : mixed
- listaPH9() : mixed
- listBehaviourTest() : mixed
- listEmotionsTest() : mixed
- listPhq9Test() : mixed
- getPazIDByUserID() : mixed
Properties
$queryFactory
private
QueryFactory
$queryFactory
$transaction
private
Transaction
$transaction
Methods
__construct()
The constructor.
public
__construct(QueryFactory $queryFactory, Transaction $transaction) : mixed
Parameters
- $queryFactory : QueryFactory
-
The query factory
- $transaction : Transaction
addBehaviourTest()
public
addBehaviourTest(int $uid, array<string|int, mixed> $testData) : mixed
Parameters
- $uid : int
- $testData : array<string|int, mixed>
addEmotionTest()
public
addEmotionTest(int $uid, array<string|int, mixed> $testData) : mixed
Parameters
- $uid : int
- $testData : array<string|int, mixed>
addPhq9Test()
public
addPhq9Test(int $uid, array<string|int, mixed> $testData) : mixed
Parameters
- $uid : int
- $testData : array<string|int, mixed>
listaPH9()
public
listaPH9(mixed $user_id) : mixed
Parameters
- $user_id : mixed
listBehaviourTest()
public
listBehaviourTest(int $uid) : mixed
Parameters
- $uid : int
listEmotionsTest()
public
listEmotionsTest(int $uid) : mixed
Parameters
- $uid : int
listPhq9Test()
public
listPhq9Test(int $uid) : mixed
Parameters
- $uid : int
getPazIDByUserID()
private
getPazIDByUserID(mixed $uid) : mixed
Parameters
- $uid : mixed