template as array instead of string

library accepts `$config['template']` as array and string, to perform template replacements.

updated `$this->temp` var to `$this->replacements` to be less ambiguous about what it does
1 file changed