mirror of
https://github.com/archtechx/airwire-demo.git
synced 2025-12-12 08:34:03 +00:00
public release
This commit is contained in:
commit
d6d22f8355
115 changed files with 67218 additions and 0 deletions
38
app/Providers/AppServiceProvider.php
Normal file
38
app/Providers/AppServiceProvider.php
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Airwire\Airwire;
|
||||
use App\Airwire\CreateReport;
|
||||
use App\Airwire\CreateUser;
|
||||
use App\Airwire\ReportFilter;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use MyDTO;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
Airwire::component('report-filter', ReportFilter::class);
|
||||
Airwire::component('create-report', CreateReport::class);
|
||||
Airwire::component('create-user', CreateUser::class);
|
||||
|
||||
Model::unguard();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue