| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentForm\Framework\Request; |
| 4 |
|
| 5 |
use FluentForm\Framework\Foundation\Provider; |
| 6 |
|
| 7 |
class RequestProvider extends Provider |
| 8 |
{ |
| 9 |
public function booting() {} |
| 10 |
|
| 11 |
/** |
| 12 |
* The provider booting method to boot this provider |
| 13 |
* @return void |
| 14 |
*/ |
| 15 |
public function booted() |
| 16 |
{ |
| 17 |
$this->app->bindInstance( |
| 18 |
'request', |
| 19 |
new Request($this->app, $_GET, $_POST, $_FILES), |
| 20 |
'Request', |
| 21 |
'FluentForm\Framework\Request\Request' |
| 22 |
); |
| 23 |
} |
| 24 |
} |
| 25 |
|