src/CodeGeneration/Generator/Relations/GenerateRelationCodeForEntity.php
private function renamePathsForCreatedFiles(): void
    {
        foreach ($this->filesCreated as $key => $realPath) {
            $this->filesCreated[$key] = $this->pathHelper->renamePathBasenameSingularOrPlural(
                $realPath,
                $this->singularNamespacedName,
                $this->pluralNamespacedName
            );
        }
    }
private function renamePathsForCreatedFiles(): void
    {
        foreach ($this->filesCreated as $key => $realPath) {
            $this->filesCreated[$key] = $this->pathHelper->renamePathBasenameSingularOrPlural(
                $realPath,
                $this->singularNamespacedName,
                $this->pluralNamespacedName
            );
        }
    }
private function renamePathsForCreatedFiles ( ) : void { foreach ( $ this -> filesCreated as $ key => $ realPath ) { $ this -> filesCreated [ $ key ] = $ this -> pathHelper -> renamePathBasenameSingularOrPlural ( $ realPath , $ this -> singularNamespacedName , $ this -> pluralNamespacedName ) ; } }
Loop through the created files and rename the paths

@throws DoctrineStaticMetaException
Loop through the created files and rename the paths