Closed trio1234 closed 3 years ago
FIX
Change src/Shared/Infrastructure/Symfony/WebController.php
use Symfony\Component\HttpFoundation\Session\Session;
for
use Symfony\Component\HttpFoundation\Session\SessionInterface;
Same as CodelyTv\Shared\Infrastructure\Symfony\FlashSession;
When i run first time docker-compose up i cant access to
http://localhost:8041/health-check or http://localhost:8041
ERROR
Cannot autowire service "CodelyTv\Apps\Backoffice\Frontend\Controller\Courses\CoursesGetWebController": argument "$session" of method "CodelyTv\Shared\Infrastructure\Symfony\WebController::__construct()" references class "Symfony\Component\HttpFoundation\Session\Session" but no such service exists. Try changing the type-hint to "Symfony\Component\HttpFoundation\Session\SessionInterface" instead.