src/CodeGeneration/Generator/Relations/GenerateRelationCodeForEntity.php
private function updateNamespace(): void
    {
        //now path is totally sorted, update namespace based on path
        foreach ($this->filesCreated as $filePath) {
            $this->findAndReplaceHelper->setNamespaceFromPath(
                $filePath,
                $this->srcSubFolderName,
                $this->projectRootNamespace
            );
        }
    }
private function updateNamespace(): void
    {
        //now path is totally sorted, update namespace based on path
        foreach ($this->filesCreated as $filePath) {
            $this->findAndReplaceHelper->setNamespaceFromPath(
                $filePath,
                $this->srcSubFolderName,
                $this->projectRootNamespace
            );
        }
    }
private function updateNamespace ( ) : void { //now path is totally sorted, update namespace based on path foreach ( $ this -> filesCreated as $ filePath ) { $ this -> findAndReplaceHelper -> setNamespaceFromPath ( $ filePath , $ this -> srcSubFolderName , $ this -> projectRootNamespace ) ; } }
Update the namespace in all the created files

@throws DoctrineStaticMetaException
Update the namespace in all the created files