This commit is contained in:
Benoît Burnichon
2016-01-19 15:30:11 +01:00
parent bbcdb5ff31
commit 6fb295b6b9
3 changed files with 14 additions and 14 deletions

View File

@@ -23,9 +23,6 @@ class ServeFileResponseFactory implements DeliverDataInterface
$this->unicode = $unicode;
}
/**
* {@inheritdoc}
*/
public function deliverFile($file, $filename = '', $disposition = self::DISPOSITION_INLINE, $mimeType = null, $cacheDuration = null)
{
$response = new BinaryFileResponse($file);
@@ -41,9 +38,6 @@ class ServeFileResponseFactory implements DeliverDataInterface
return $response;
}
/**
* {@inheritdoc}
*/
public function deliverData($data, $filename, $mimeType, $disposition = self::DISPOSITION_INLINE, $cacheDuration = null)
{
$response = new Response($data);