mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 06:01:26 +00:00
36 lines
709 B
PHP
36 lines
709 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\PostProcessService;
|
|
use App\Services\ReleaseProcessingService;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class ProcessingServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
$this->app->singleton(PostProcessService::class, function ($app) {
|
|
return new PostProcessService();
|
|
});
|
|
|
|
$this->app->singleton(ReleaseProcessingService::class, function ($app) {
|
|
return new ReleaseProcessingService();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|
|
|