1 | <?php |
||
11 | class OldInput { |
||
12 | /** |
||
13 | * Key to store the flashed data with |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | const FLASH_KEY = '__carbonFrameworkOldInput'; |
||
18 | |||
19 | /** |
||
20 | * Return all previously flashed request data |
||
21 | * |
||
22 | * @return array |
||
23 | */ |
||
24 | public static function all() { |
||
27 | |||
28 | /** |
||
29 | * Return any previously flashed request data value |
||
30 | * |
||
31 | * @see Arr::get() |
||
32 | */ |
||
33 | public static function get() { |
||
39 | |||
40 | /** |
||
41 | * Clear previously stored input |
||
42 | */ |
||
43 | public static function clear() { |
||
50 | |||
51 | /** |
||
52 | * Store the current input |
||
53 | * |
||
54 | * @param array $input |
||
55 | */ |
||
56 | public static function store( $input ) { |
||
63 | } |
||
64 |