You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be super cool to be able to write such code:
#[Route('/')]
public function index(
#[TaggedLocator('foobar')]
ContainerInterface $foobar,
): JsonResponse
{
dd($foo);
But it does not work ATM
Cannot autowire argument $foo of "App\Controller\AController::index()": it references interface "Psr\Container\ContainerInterface" but no such service exists. Available autowiring aliases for this interface are: "$parameterBag".