Created
December 6, 2023 13:54
-
-
Save tsh-code/3a4e2ad3d64629e9ef92fb92fa3bc159 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Generator { | |
// . . . | |
public function generate(string $filename, array $data, string $fileType): void { | |
$content = $this->generateContent($data, $fileType); | |
$this->disposition($filename, $content, $fileType); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment