debug autowiring service
This commit is contained in:
parent
9a2f0f2fc4
commit
251b5144a1
|
@ -37,7 +37,7 @@ class BillingController extends AbstractController
|
||||||
|
|
||||||
list($service, $function) = explode('::', $serviceToCall);
|
list($service, $function) = explode('::', $serviceToCall);
|
||||||
|
|
||||||
$srv = new $service();
|
$srv = $this->container->get($service);
|
||||||
|
|
||||||
$srv->{$function}($session);
|
$srv->{$function}($session);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue