mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
32 lines
626 B
PHP
32 lines
626 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\TvProcessing\TvProcessingPipeline;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class TvProcessingServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
$this->app->singleton(TvProcessingPipeline::class, function ($app) {
|
|
return TvProcessingPipeline::createDefault();
|
|
});
|
|
|
|
$this->app->alias(TvProcessingPipeline::class, 'tv-processing');
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|