Card + Products
This commit is contained in:
parent
5ff57a21a7
commit
c129a44383
38 changed files with 4489 additions and 1789 deletions
30
app/Providers/YardServiceProvider.php
Executable file
30
app/Providers/YardServiceProvider.php
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Services\Yard;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class YardServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function register()
|
||||
{
|
||||
$this->app->singleton(Yard::class, function ($app) {
|
||||
return new Yard($app['session'], $app['events']);
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue