update 20.10.2025
This commit is contained in:
parent
8c11130b5d
commit
a939cd51ef
616 changed files with 84821 additions and 4121 deletions
30
dev/app-bak/Providers/YardServiceProvider.php
Normal file
30
dev/app-bak/Providers/YardServiceProvider.php
Normal 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