Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 207 Pomógł: 0 Dołączył: 7.09.2010 Ostrzeżenie: (0%)
|
Pokazuje mi się błąd: Controller "AppBundle\Controller\UserController::profileinfoAction()" requires that you provide a value for the "$profilesql" argument. Either the argument is nullable and no null value has been provided, no default value has been provided or because there is a non optional argument after this one. Nie Chce mi po prostu wstrzyknąć zależności podczas przekierowania. Jak to zrobić aby wstrzykneło? To jest moja akcja z argumentami w kontrolerze:
I jak wstrzyknąć tą usługę ProfileSql $profilesql do przekierowania? Próbowałem tak:
No ale niestety nie idzie. |
|
|
|
szypi1989 [Symfony][Symfony2]requires that you provide a value for the "$profilesql" argument. 20.08.2018, 07:57:38
robert0770 ProfileSql to encja?
Raczej chodzi o to aby Param... 20.08.2018, 14:06:44
szypi1989 ProfileSql to obiekt klasy , który jest wstrzykiwa... 20.08.2018, 21:50:07
robert0770 Co to za obiekt? jak nie encja to moze jakis servi... 21.08.2018, 14:14:07 ![]() ![]() |
|
Aktualny czas: 25.12.2025 - 05:19 |