experiment.php 1.08 KB
Newer Older
1
2
3
4
5
6
7
8
<?php

return [
    /**
     *  Text used, when result data in a column doesn't exist.
     */
    'n-a-text' => 'N/A',

9
10
11
12
13
14
15
    /**
     * header field of a running index added by the csv export.
     */
    'csv-id-header' => env('EXPERIMENT_CSV_ID_HEADER', null),
    'csv-id-header-start' => env('EXPERIMENT_CSV_ID_HEADER_START', 1),
    'csv-id-header-format' => env('EXPERIMENT_CSV_ID_HEADER_FORMAT', '%d'),

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
    /**
     * The token for the next and submit route.
     * If the token is null, everyone can access these routes.
     */
    'token' => env('EXPERIMENT_TOKEN', null),
    'admin-token' => env('EXPERIMENT_ADMIN_TOKEN', null),

    /**
     * Whether the ip address and session-id should be saved with the results.
     */
    'store-ip' => env('EXPERIMENT_STORE_IP', false),
    'store-session-id' => env('EXPERIMENT_STORE_SESSION_ID', false),

    /**
     * Used for triggering an external api when new
     * results come in.
     */
     'trigger-url' => env('EXPERIMENT_TRIGGER_URL', null),
     'trigger-data' => json_decode(
         env('EXPERIMENT_TRIGGER_DATA', null), true),
];