src/CodeGeneration/Creation/AbstractCreator.php
public function write(): string
    {
        $this->targetFile->removeIfExists();

        return $this->fileWriter->write($this->targetFile);
    }
public function write(): string
    {
        $this->targetFile->removeIfExists();

        return $this->fileWriter->write($this->targetFile);
    }
public function write ( ) : string { $ this -> targetFile -> removeIfExists ( ) ; return $ this -> fileWriter -> write ( $ this -> targetFile ) ; }
Write the file and return the generated path

@return string
@throws \EdmondsCommerce\DoctrineStaticMeta\Exception\DoctrineStaticMetaException
Write the file and return the generated path