PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 1.7.2
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v1.7.2
6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 3.6.66 All 195 releases
fluentform / framework / Request / RequestProvider.php

RequestProvider.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 1.7.2, at framework/Request/RequestProvider.php

27 lines 594 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentForm\Framework\Request;
4
5 use FluentForm\Framework\Foundation\Provider;
6
7 class RequestProvider extends Provider
8 {
9 /**
10 * The provider booting method to boot this provider
11 * @return void
12 */
13 public function booting()
14 {
15 // $this->app->bindSingleton('request', function($app) {
16 // return new Request($app, $_GET, $_POST, $_FILES);
17 // }, 'Request', 'FluentForm\Framework\Request\Request');
18
19 $this->app->bindInstance(
20 'request',
21 new Request($this->app, $_GET, $_POST, $_FILES),
22 'Request',
23 'FluentForm\Framework\Request\Request'
24 );
25 }
26 }
27