first commit
This commit is contained in:
23
app/Providers/ScreenshotsServiceProvider.php
Normal file
23
app/Providers/ScreenshotsServiceProvider.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use App;
|
||||
use Illuminate\Contracts\Support\DeferrableProvider;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class ScreenshotsServiceProvider extends ServiceProvider implements DeferrableProvider
|
||||
{
|
||||
public function register(): void
|
||||
{
|
||||
$this->app->bind(
|
||||
App\Contracts\ScreenshotService::class,
|
||||
App\Services\ProductionScreenshotService::class
|
||||
);
|
||||
}
|
||||
|
||||
public function provides(): array
|
||||
{
|
||||
return [App\Contracts\ScreenshotService::class];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user