Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
48 | 1 | public function getEntityNamespaceRootFromEntityReflection( |
|
49 | \ts\Reflection\ReflectionClass $entityReflection |
||
50 | ): string { |
||
51 | 1 | return $this->namespaceHelper->tidy( |
|
52 | 1 | $this->namespaceHelper->getNamespaceRootToDirectoryFromFqn( |
|
53 | 1 | $entityReflection->getName(), |
|
54 | 1 | AbstractGenerator::ENTITIES_FOLDER_NAME |
|
55 | ) |
||
59 |