src/Migrator.php
protected function replacePlaceholdersInTemplate($template, array $replace)
    {
        foreach ($replace as $placeholder => $value) {
            $template = str_replace("__{$placeholder}__", $value, $template);
        }

        return $template;
    }
protected function replacePlaceholdersInTemplate($template, array $replace)
    {
        foreach ($replace as $placeholder => $value) {
            $template = str_replace("__{$placeholder}__", $value, $template);
        }

        return $template;
    }
protected function replacePlaceholdersInTemplate ( $ template , array $ replace ) { foreach ( $ replace as $ placeholder => $ value ) { $ template = str_replace ( "__{$placeholder}__" , $ value , $ template ) ; } return $ template ; }
Replace all placeholders in the stub.

@param string $template
@param array  $replace

@return string
Replace all placeholders in the stub .