Passed
Pull Request — master (#640)
by Vitor
03:39
created

Factory::getPrefix()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * SPDX-FileCopyrightText: 2024 Christoph Wurst <[email protected]>
7
 * SPDX-License-Identifier: AGPL-3.0-or-later
8
 */
9
10
namespace OCA\TwoFactorGateway\Provider\Gateway;
11
12
use OCA\TwoFactorGateway\Provider\AFactory;
13
14
class Factory extends AFactory {
15
	#[\Override]
16
	protected function getPrefix(): string {
17
		return 'OCA\\TwoFactorGateway\\Provider\\Channel\\';
18
	}
19
20
	#[\Override]
21
	protected function getSuffix(): string {
22
		return 'Gateway';
23
	}
24
25
	#[\Override]
26
	protected function getBaseClass(): string {
27
		return AGateway::class;
28
	}
29
}
30