src/Commands/MakeFeatureCommand.php
protected function parseFile(string $origin, string $destination, array $translations = [], array $conversions = [])
    {
        $data = str_replace($translations, $conversions, file_get_contents($origin));
        file_put_contents($destination, $data);
    }
protected function parseFile(string $origin, string $destination, array $translations = [], array $conversions = [])
    {
        $data = str_replace($translations, $conversions, file_get_contents($origin));
        file_put_contents($destination, $data);
    }
protected function parseFile ( string $ origin , string $ destination , array $ translations = [ ] , array $ conversions = [ ] ) { $ data = str_replace ( $ translations , $ conversions , file_get_contents ( $ origin ) ) ; file_put_contents ( $ destination , $ data ) ; }
Parses the original file with the respective replacement pairs, and
creates the destination file with everything replaced.

@param string $origin       The original file path.
@param string $destination  The destination file path.
@param array  $translations The keys to translate: {{example}}.
@param array  $conversions  The the converted values.

@return void
Parses the original file with the respective replacement pairs and creates the destination file with everything replaced .