Total Complexity | 3 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
7 | class ReflectionHelper |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @var NamespaceHelper |
||
12 | */ |
||
13 | protected $namespaceHelper; |
||
14 | |||
15 | 2 | public function __construct(NamespaceHelper $namespaceHelper) |
|
18 | 2 | } |
|
19 | |||
20 | /** |
||
21 | * @param \ts\Reflection\ReflectionClass $fieldTraitReflection |
||
22 | * |
||
23 | * @return string |
||
24 | */ |
||
25 | 1 | public function getFakerProviderFqnFromFieldTraitReflection(\ts\Reflection\ReflectionClass $fieldTraitReflection |
|
38 | ); |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Work out the entity namespace root from a single entity reflection object. |
||
43 | * |
||
44 | * @param \ts\Reflection\ReflectionClass $entityReflection |
||
45 | * |
||
46 | * @return string |
||
47 | */ |
||
48 | 1 | public function getEntityNamespaceRootFromEntityReflection( |
|
59 |