src/CodeGeneration/ReflectionHelper.php
public function getEntityNamespaceRootFromEntityReflection(
        ReflectionClass $entityReflection
    ): string {
        return $this->namespaceHelper->tidy(
            $this->namespaceHelper->getNamespaceRootToDirectoryFromFqn(
                $entityReflection->getName(),
                AbstractGenerator::ENTITIES_FOLDER_NAME
            )
        );
    }
public function getEntityNamespaceRootFromEntityReflection(
        ReflectionClass $entityReflection
    ): string {
        return $this->namespaceHelper->tidy(
            $this->namespaceHelper->getNamespaceRootToDirectoryFromFqn(
                $entityReflection->getName(),
                AbstractGenerator::ENTITIES_FOLDER_NAME
            )
        );
    }
public function getEntityNamespaceRootFromEntityReflection ( ReflectionClass $ entityReflection ) : string { return $ this -> namespaceHelper -> tidy ( $ this -> namespaceHelper -> getNamespaceRootToDirectoryFromFqn ( $ entityReflection -> getName ( ) , AbstractGenerator :: ENTITIES_FOLDER_NAME ) ) ; }
Work out the entity namespace root from a single entity reflection object.

@param ReflectionClass $entityReflection

@return string
Work out the entity namespace root from a single entity reflection object .