Rewrite tabulation #14
|
|
@ -1,24 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Models\Event;
|
||||
use App\Models\Seat;
|
||||
use App\Models\SeatingLimit;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
|
||||
class SeatingService
|
||||
{
|
||||
protected $limitsCacheKey = 'acceptanceLimits';
|
||||
|
||||
protected $tabulationService;
|
||||
|
||||
/**
|
||||
* Create a new class instance.
|
||||
*/
|
||||
public function __construct(TabulationService $tabulationService)
|
||||
{
|
||||
$this->tabulationService = $tabulationService;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Models\Entry;
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
|
||||
class TabulationService
|
||||
{
|
||||
protected AuditionService $auditionService;
|
||||
|
||||
protected EntryService $entryService;
|
||||
|
||||
protected ScoreService $scoreService;
|
||||
|
||||
/**
|
||||
* Create a new class instance.
|
||||
*/
|
||||
public function __construct(
|
||||
AuditionService $auditionService,
|
||||
ScoreService $scoreService,
|
||||
EntryService $entryService
|
||||
) {
|
||||
$this->auditionService = $auditionService;
|
||||
$this->scoreService = $scoreService;
|
||||
$this->entryService = $entryService;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue