DiaryRepository
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- addEntry() : mixed
- deleteEntry() : mixed
- getEntries() : mixed
Properties
$hydrator
private
Hydrator
$hydrator
$queryFactory
private
QueryFactory
$queryFactory
$transaction
private
Transaction
$transaction
Methods
__construct()
public
__construct(QueryFactory $queryFactory, Transaction $transaction, Hydrator $hydrator) : mixed
Parameters
- $queryFactory : QueryFactory
- $transaction : Transaction
- $hydrator : Hydrator
addEntry()
public
addEntry(mixed $uid, mixed $content) : mixed
Parameters
- $uid : mixed
- $content : mixed
deleteEntry()
public
deleteEntry(mixed $user_id, mixed $diary_id) : mixed
Parameters
- $user_id : mixed
- $diary_id : mixed
getEntries()
public
getEntries(mixed $uid) : mixed
Parameters
- $uid : mixed