1 | <?php |
||
23 | class DownloadController extends Controller |
||
24 | { |
||
25 | /** |
||
26 | * Gets the file of given file name in the Gaufrette filesystem. |
||
27 | * |
||
28 | * @param string $filename The file name |
||
29 | * @param string $uploadDestination The gaufrette filesystem |
||
30 | * |
||
31 | * @return BinaryFileResponse |
||
32 | */ |
||
33 | public function gaufretteAction($filename, $uploadDestination) |
||
37 | |||
38 | /** |
||
39 | * Gets the file of given file name in the Symfony filesystem. |
||
40 | * |
||
41 | * @param string $filename The file name |
||
42 | * @param string $uploadDestination The path of file storage |
||
43 | * |
||
44 | * @return BinaryFileResponse |
||
45 | */ |
||
46 | public function symfonyAction($filename, $uploadDestination) |
||
50 | } |
||
51 |