Total Complexity | 7 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Coverage | 42.11% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
10 | final class ElementFactory extends AbstractSpecializationFactory |
||
11 | { |
||
12 | public static function getSubNamespace(): string |
||
15 | } |
||
16 | |||
17 | public static function baseclassName(): string |
||
18 | { |
||
19 | return "Element"; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @codeCoverageIgnore |
||
24 | */ |
||
25 | private function __construct() |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Factory. |
||
31 | * |
||
32 | * @param string $elementName |
||
33 | * @param Framework $framework |
||
34 | * @param FrameworkComposer $composer |
||
35 | * @return Element |
||
36 | */ |
||
37 | 1 | public static function specializedFactory($elementName, object $framework, $composer = null): Element |
|
53 | } |
||
54 | |||
55 | protected static function getNamePair(\ReflectionClass $reflection): array |
||
67 | ]; |
||
68 | } |
||
70 |