アプリケーションを開発しており、PDF で請求書を作成する必要があります。私はpdfbundleを使用しており、PDFファイルは正しく作成されています:
public function helloAction()
{
$format = $this->get('request')->get('_format');
$name = "work!!!";
return $this->render(sprintf('miomioBundle:Venta:helloAction.%s.twig', $format), array('name' => $name));
}
しかし、どうすればそのファイルをデータベースに保存できますか?