24 lines
533 B
PHP
24 lines
533 B
PHP
<?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];
|
|
}
|
|
}
|