| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentForm\Framework\View; |
| 4 |
|
| 5 |
use FluentForm\Framework\Foundation\Provider; |
| 6 |
|
| 7 |
class ViewProvider 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->bind('view', function($app) { |
| 16 |
return new View($app); |
| 17 |
}, 'View', 'FluentForm\Framework\View\View'); |
| 18 |
} |
| 19 |
} |
| 20 |
|