1: <?php declare(strict_types=1);
2:
3: namespace Salient\Contract\Http;
4:
5: /**
6: * Form data flags
7: *
8: * @api
9: */
10: interface FormDataFlag
11: {
12: public const PRESERVE_LIST_KEYS = 1;
13: public const PRESERVE_NUMERIC_KEYS = 2;
14: public const PRESERVE_STRING_KEYS = 4;
15:
16: public const PRESERVE_ALL_KEYS =
17: FormDataFlag::PRESERVE_LIST_KEYS
18: | FormDataFlag::PRESERVE_NUMERIC_KEYS
19: | FormDataFlag::PRESERVE_STRING_KEYS;
20: }
21: