src/CodeGeneration/NamespaceHelper.php
public function getOwningRelationsRootFqn(
        string $projectRootNamespace,
        array $subDirectories
    ): string {
        $relationsRootFqn = $projectRootNamespace
                            . AbstractGenerator::ENTITY_RELATIONS_NAMESPACE . '\\';
        if (count($subDirectories) > 0) {
            $relationsRootFqn .= implode('\\', $subDirectories) . '\\';
        }

        return $this->tidy($relationsRootFqn);
    }
public function getOwningRelationsRootFqn(
        string $projectRootNamespace,
        array $subDirectories
    ): string {
        $relationsRootFqn = $projectRootNamespace
                            . AbstractGenerator::ENTITY_RELATIONS_NAMESPACE . '\\';
        if (count($subDirectories) > 0) {
            $relationsRootFqn .= implode('\\', $subDirectories) . '\\';
        }

        return $this->tidy($relationsRootFqn);
    }
public function getOwningRelationsRootFqn ( string $ projectRootNamespace , array $ subDirectories ) : string { $ relationsRootFqn = $ projectRootNamespace . AbstractGenerator :: ENTITY_RELATIONS_NAMESPACE . '\\' ; if ( count ( $ subDirectories ) > 0 ) { $ relationsRootFqn .= implode ( '\\' , $ subDirectories ) . '\\' ; } return $ this -> tidy ( $ relationsRootFqn ) ; }
Get the Namespace root for Entity Relations

@param string $projectRootNamespace
@param array  $subDirectories

@return string
Get the Namespace root for Entity Relations