public function render($template, $data) {
        $tplReady = '';
        $this->template = $template;
        $this->data = $data;

        if ($this->loadTemplate()) {
            $tplReady = $this->dataRender;
        }

        // Se verifica si hay que minificar el resultado
        if (Settings::getInstance()->get('minifyTemplate') && !Settings::getInstance()->inDebug()) {
            $tplReady = $this->minify($tplReady);
        }

        $this->release();
        return $tplReady;
    }