Factory::getBaseClass()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
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;
11
12
/** @extends AFactory<AProvider> */
13
class Factory extends AFactory {
14
	#[\Override]
15
	protected function getPrefix(): string {
16
		return 'OCA\\TwoFactorGateway\\Provider\\Channel\\';
17
	}
18
19
	#[\Override]
20
	protected function getSuffix(): string {
21
		return 'Provider';
22
	}
23
24
	#[\Override]
25
	protected function getBaseClass(): string {
26
		return AProvider::class;
27
	}
28
}
29