29 lines
650 B
PHP
29 lines
650 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Actions\Tabulation\AllJudgesCount;
|
|
use App\Actions\Tabulation\CalculateEntryScore;
|
|
use App\Actions\Tabulation\CalculateScoreSheetTotal;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class CalculateEntryScoreProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
$this->app->singleton(CalculateScoreSheetTotal::class, CalculateScoreSheetTotal::class);
|
|
$this->app->singleton(CalculateEntryScore::class, AllJudgesCount::class);
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|