Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| AEnvironmentPageAwareController | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | /** |
| 5 | * SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors |
| 6 | * SPDX-License-Identifier: AGPL-3.0-or-later |
| 7 | */ |
| 8 | |
| 9 | namespace OCA\Libresign\Controller; |
| 10 | |
| 11 | use OCA\Libresign\AppInfo\Application; |
| 12 | use OCA\Libresign\Service\SignFileService; |
| 13 | use OCP\AppFramework\Controller; |
| 14 | use OCP\IL10N; |
| 15 | use OCP\IRequest; |
| 16 | use OCP\IUserSession; |
| 17 | |
| 18 | abstract class AEnvironmentPageAwareController extends Controller implements ISignatureUuid { |
| 19 | use LibresignTrait; |
| 20 | |
| 21 | public function __construct( |
| 22 | IRequest $request, |
| 23 | protected SignFileService $signFileService, |
| 24 | protected IL10N $l10n, |
| 25 | protected IUserSession $userSession, |
| 26 | ) { |
| 27 | parent::__construct(Application::APP_ID, $request); |
| 28 | } |
| 29 | } |