[Symfony][SF2][SF]You have requested a non-existent service "pushsql". |
[Symfony][SF2][SF]You have requested a non-existent service "pushsql". |
1.08.2018, 16:23:26
Post
#1
|
|
Grupa: Zarejestrowani Postów: 66 Pomógł: 0 Dołączył: 24.08.2017 Ostrzeżenie: (0%) |
Mam problem z wyciągnięciem z kontenera usługi. Otóż mam klasę:
AppBundle\Service\Edit\Append\PushSql.class jako usługę . Rejestruje ją jako usługę w symfony 3.4 w config:
Próbuje wyciągnąć za pomoce kontenera:
I pokazuje mi się komunikat: You have requested a non-existent service "pushsql". Wiem, że mogę wrzucić to do argumentu konstruktora i tam ją wyciągnąć ale Ja Chcę tak ją wyciągnąć . Nie ważne dlaczego ! Więc proszę o pomoc |
|
|
Wersja Lo-Fi | Aktualny czas: 29.03.2024 - 16:29 |