public function downloadFromView($view, array $parameters = array(),
        array $options = array())
    {
        $this->log(sprintf('Download pdf from view (%s).', $view));

        $contentDisposition = 'attachment; filename="' . $this->getName() . '"';
        return $this->generateResponse($view, $contentDisposition, $parameters,
            $options);
    }