public function endInternal()
    {
        $script = ob_get_clean();
        $params = array_pop($this->capture);
        if (count($params) > 2) {
            return $this->addCondInternal(
                $params[0],
                $script,
                $params[1],
                $params[2]
            );
        }
        return $this->addInternal($script, $params[0], $params[1]);
    }