Passed
Push — master ( 106c73...2a0c7e )
by Roeland
24:48 queued 13:32
created

Application::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
/**
5
 * @copyright Copyright (c) 2017 Bjoern Schiessle <[email protected]>
6
 *
7
 * @author Bjoern Schiessle <[email protected]>
8
 * @author Christoph Wurst <[email protected]>
9
 * @author Morris Jobke <[email protected]>
10
 * @author Roeland Jago Douma <[email protected]>
11
 *
12
 * @license GNU AGPL version 3 or any later version
13
 *
14
 * This program is free software: you can redistribute it and/or modify
15
 * it under the terms of the GNU Affero General Public License as
16
 * published by the Free Software Foundation, either version 3 of the
17
 * License, or (at your option) any later version.
18
 *
19
 * This program is distributed in the hope that it will be useful,
20
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 * GNU Affero General Public License for more details.
23
 *
24
 * You should have received a copy of the GNU Affero General Public License
25
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
26
 *
27
 */
28
29
namespace OCA\ShareByMail\AppInfo;
30
31
use OCA\ShareByMail\Capabilities;
32
use OCP\AppFramework\App;
33
use OCP\AppFramework\Bootstrap\IBootContext;
34
use OCP\AppFramework\Bootstrap\IBootstrap;
35
use OCP\AppFramework\Bootstrap\IRegistrationContext;
36
37
class Application extends App implements IBootstrap {
38
	public const APP_ID = 'sharebymail';
39
40
	public function __construct() {
41
		parent::__construct(self::APP_ID);
42
	}
43
44
	public function register(IRegistrationContext $context): void {
45
		$context->registerCapability(Capabilities::class);
46
	}
47
48
	public function boot(IBootContext $context): void {
49
	}
50
}
51