public function replace(array $replacements)
    {
        foreach ($this->files() as $file) {
            (new Replacer($file))->swap($replacements);
        }
    }
public function replace(array $replacements)
    {
        foreach ($this->files() as $file) {
            (new Replacer($file))->swap($replacements);
        }
    }
public function replace ( array $ replacements ) { foreach ( $ this -> files ( ) as $ file ) { ( new Replacer ( $ file ) ) -> swap ( $ replacements ) ; } }
Process renaming in files content.

@param  array  $answers

@return void
Process renaming in files content .