Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 44.44% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class LogRepository extends AbstractRepository implements \Ecodev\Felix\Repository\LogRepository, LimitedAccessSubQuery |
||
11 | { |
||
12 | /** |
||
13 | * Log message to be used when a door is opened. |
||
14 | */ |
||
15 | final public const DOOR_OPENED = 'door opened: '; |
||
16 | /** |
||
17 | * Log message to be used when the datatrans webhook starts. |
||
18 | */ |
||
19 | final public const DATATRANS_WEBHOOK_BEGIN = 'datatrans webhook begin'; |
||
20 | /** |
||
21 | * Log message to be used when the datatrans webhook finishes. |
||
22 | */ |
||
23 | final public const DATATRANS_WEBHOOK_END = 'datatrans webhook end'; |
||
24 | |||
25 | use \Ecodev\Felix\Repository\Traits\LogRepository; |
||
26 | |||
27 | /** |
||
28 | * Returns pure SQL to get ID of all objects that are accessible to given user. |
||
29 | */ |
||
30 | 1 | public function getAccessibleSubQuery(?\Ecodev\Felix\Model\User $user): string |
|
49 |