public function apply(array $params)
    {
        $tags = [];
        foreach ($params as $key => $value) {
            $tags['/{' . $key . '}/'] = $value;
        }
        return preg_replace(array_keys($tags), array_values($tags), $this->getConfig('template'));
    }