Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
| TemplateLoaderAssets | |
0.00% |
0 / 3 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
| addInitScript | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| addScript | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| addStyle | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | /** |
| 5 | * SPDX-FileCopyrightText: 2026 LibreCode coop and contributors |
| 6 | * SPDX-License-Identifier: AGPL-3.0-or-later |
| 7 | */ |
| 8 | |
| 9 | namespace OCA\Libresign\Files; |
| 10 | |
| 11 | use OCP\Util; |
| 12 | |
| 13 | class TemplateLoaderAssets { |
| 14 | public function addInitScript(string $appId, string $script): void { |
| 15 | Util::addInitScript($appId, $script); |
| 16 | } |
| 17 | |
| 18 | public function addScript(string $appId, string $script): void { |
| 19 | Util::addScript($appId, $script); |
| 20 | } |
| 21 | |
| 22 | public function addStyle(string $appId, string $style): void { |
| 23 | Util::addStyle($appId, $style); |
| 24 | } |
| 25 | } |