protected function replaceParam($line, array $param)
    {
        if (! empty($param) and is_array($param)) {
            foreach ($param as $key => $value) {
                $line = str_replace(':'.$key, $value, $line);
            }
        }

        return $line;
    }