protected static function sendCsv($data)
    {
        header("Content-Disposition: attachment; filename=".uniqid('dataExpl').'.csv');
        header("Content-Type: application/force-download");
        header("Content-Type: application/octet-stream");
        header("Content-Type: application/download");
        header("Content-Description: File Transfer");
        exit(Helper::arrayToCsv($data));
    }