25 lines
671 B
PHP
25 lines
671 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Services\AuditionCacheService;
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Support\Facades\Session;
|
|
|
|
class TestController extends Controller
|
|
{
|
|
protected $scoringGuideCacheService;
|
|
|
|
public function __construct(AuditionCacheService $scoringGuideCacheService)
|
|
{
|
|
$this->scoringGuideCacheService = $scoringGuideCacheService;
|
|
}
|
|
|
|
public function flashTest(Request $request)
|
|
{
|
|
$auditions = $this->scoringGuideCacheService->getAuditions();
|
|
$auditionEleven = $this->scoringGuideCacheService->getAudition(11);
|
|
return view('test', compact('auditions','auditionEleven'));
|
|
}
|
|
}
|