1 | <?php |
||
10 | class EnvironmentController extends Controller |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var EnvironmentManager |
||
15 | */ |
||
16 | protected $EnvironmentManager; |
||
17 | |||
18 | /** |
||
19 | * @param EnvironmentManager $environmentManager |
||
20 | */ |
||
21 | public function __construct(EnvironmentManager $environmentManager) |
||
25 | |||
26 | /** |
||
27 | * Display the Environment page. |
||
28 | * |
||
29 | * @return \Illuminate\View\View |
||
30 | */ |
||
31 | public function index() |
||
38 | |||
39 | |||
40 | /** |
||
41 | * Processes the newly saved environment configuration and redirects back. |
||
42 | * |
||
43 | * @param Request $input |
||
44 | * @return \Illuminate\Http\RedirectResponse |
||
45 | */ |
||
46 | public function store(Request $input) |
||
55 | |||
56 | /** |
||
57 | * Key should be before the first = symbol and value should be after. |
||
58 | * Each new line (\r\n) should be a new array entry. |
||
59 | * @param $string |
||
60 | * @return array |
||
61 | */ |
||
62 | private function breakApartEnv($string) |
||
68 | |||
69 | } |
||
70 |