for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the bugloos/export-bundle project.
* (c) Bugloos <https://bugloos.com/>
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Bugloos\ExportBundle\Response;
* @author Mojtaba Gheytasi <[email protected] | [email protected]>
class CsvResponse extends GeneralResponse
{
public function __construct(
$content,
$fileName = 'output.csv',
$contentType = 'text/csv',
$contentDisposition = 'attachment',
$status = self::HTTP_OK,
$headers = []
) {
parent::__construct(
$fileName,
$contentType,
$contentDisposition,
$status,
$headers
);
}