Skip to content

Commit e3aa9ad

Browse files
committed
Beautify config
1 parent 1d1260a commit e3aa9ad

File tree

1 file changed

+44
-19
lines changed

1 file changed

+44
-19
lines changed

src/config/datatables-export.php

Lines changed: 44 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,48 @@
44

55
return [
66

7-
/**
8-
* Method to use to iterate with the query results.
9-
* Options: lazy, cursor
10-
*
11-
* @link https://laravel.com/docs/eloquent#cursors
12-
* @link https://laravel.com/docs/eloquent#chunking-using-lazy-collections
13-
*/
7+
/*
8+
|--------------------------------------------------------------------------
9+
| Method
10+
|--------------------------------------------------------------------------
11+
|
12+
| Method to use to iterate with the query results.
13+
| Options: lazy, cursor
14+
|
15+
| @link https://laravel.com/docs/eloquent#cursors
16+
| @link https://laravel.com/docs/eloquent#chunking-using-lazy-collections
17+
|
18+
*/
1419
'method' => 'lazy',
1520

16-
/**
17-
* Chunk size to be used when using lazy method.
18-
*/
21+
/*
22+
|--------------------------------------------------------------------------
23+
| Chunk Size
24+
|--------------------------------------------------------------------------
25+
|
26+
| Chunk size to be used when using lazy method.
27+
|
28+
*/
1929
'chunk' => 1000,
2030

21-
/**
22-
* Default export format for date.
23-
*/
31+
/*
32+
|--------------------------------------------------------------------------
33+
| Default Date Format
34+
|--------------------------------------------------------------------------
35+
|
36+
| Default export format for date.
37+
|
38+
*/
2439
'default_date_format' => 'yyyy-mm-dd',
2540

26-
/**
27-
* List of valid date formats to be used for auto-detection.
28-
*/
41+
/*
42+
|--------------------------------------------------------------------------
43+
| Valid Date Formats
44+
|--------------------------------------------------------------------------
45+
|
46+
| List of valid date formats to be used for auto-detection.
47+
|
48+
*/
2949
'date_formats' => [
3050
'mm/dd/yyyy',
3151
NumberFormat::FORMAT_DATE_DATETIME,
@@ -51,9 +71,14 @@
5171
NumberFormat::FORMAT_DATE_YYYYMMDDSLASH,
5272
],
5373

54-
/**
55-
* Purge all exported by purge.days old files.
56-
*/
74+
/*
75+
|--------------------------------------------------------------------------
76+
| Purge Options
77+
|--------------------------------------------------------------------------
78+
|
79+
| Purge all exported by purge.days old files.
80+
|
81+
*/
5782
'purge' => [
5883
'days' => 1,
5984
],

0 commit comments

Comments
 (0)