1 | <?php |
||
21 | class JournalEntryRepositoryImpl extends EntityRepository implements JournalEntryRepository |
||
22 | { |
||
23 | /** |
||
24 | * @return Record |
||
25 | */ |
||
26 | 2 | public function createRecord() |
|
30 | |||
31 | /** |
||
32 | * @return int |
||
33 | */ |
||
34 | 2 | public function getRecordsCount() |
|
38 | |||
39 | /** |
||
40 | * @return int |
||
41 | */ |
||
42 | 2 | public function getCompactedRecordsCount() |
|
48 | |||
49 | /** |
||
50 | * @param string $externalReference |
||
51 | * |
||
52 | * @return JournalEntry[]|Cursor |
||
53 | */ |
||
54 | 3 | public function findByExternalReference($externalReference) |
|
64 | |||
65 | /** |
||
66 | * @param int $limit Number of entries to get |
||
67 | * |
||
68 | * @return JournalEntry[]|Cursor |
||
69 | */ |
||
70 | 1 | public function findOldestNotCompacted($limit) |
|
80 | } |
||
81 |