AppBundle\Service\Edit\Append\PushSql.class jako usługę .
Rejestruje ją jako usługę w symfony 3.4 w config:
pushsql: class: AppBundle\Service\Edit\Append\PushSql autowire: true
Próbuje wyciągnąć za pomoce kontenera:
$pushsql=$this->container->get('pushsql');
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
