| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 86.67% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class TransactionLineRepository extends AbstractRepository implements ExportExcelInterface, LimitedAccessSubQuery |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Returns pure SQL to get ID of all objects that are accessible to given user. |
||
| 16 | * |
||
| 17 | * @param null|User $user |
||
| 18 | */ |
||
| 19 | 14 | public function getAccessibleSubQuery(?\Ecodev\Felix\Model\User $user): string |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Generates an Excel spreadsheet with the query result |
||
| 42 | * |
||
| 43 | * @return string name of the temporary file |
||
| 44 | */ |
||
| 45 | public function exportExcel(Query $query): string |
||
| 50 | } |
||
| 51 | |||
| 52 | 4 | public function importedIdExists(string $importedId): bool |
|
| 60 |