1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace App\Providers;
- use Illuminate\Support\ServiceProvider;
- class CheckServiceProvider extends ServiceProvider
- {
- /**
- * Bootstrap the application services.
- *
- * @return void
- */
- public function boot()
- {
- //
- }
- /**
- * Register the application services.
- *
- * @return void
- */
- public function register()
- {
- $this->app->singleton('check', function ($app) {
- return new \App\Support\Check\Check(function () use ($app) {
- $data = $app['request']->all();
- return $data;
- });
- });
- //
- }
- }
|