Symfony 3.4 to 4.4 migration break calls methods on doctrine listener

  doctrine, php, symfony, symfony4

My listener definition (no autowiring) :

Service definition

Symfony detect it like that :

Symfony service definition

I have the two methods in my class, there were working in Symfony 3.4, but now in Symfony 4.4 they aren’t called (I get a Symfony error like $this->serviceOne->doSomething() call on null).

Source: Ask PHP