debug autowiring service

This commit is contained in:
Cyprian Beauvois 2019-07-18 17:41:53 +02:00
parent 9a2f0f2fc4
commit 251b5144a1
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class BillingController extends AbstractController
list($service, $function) = explode('::', $serviceToCall);
$srv = new $service();
$srv = $this->container->get($service);
$srv->{$function}($session);