You've already forked symfony-billing
debug autowiring service
This commit is contained in:
@@ -37,7 +37,7 @@ class BillingController extends AbstractController
|
||||
|
||||
list($service, $function) = explode('::', $serviceToCall);
|
||||
|
||||
$srv = new $service();
|
||||
$srv = $this->container->get($service);
|
||||
|
||||
$srv->{$function}($session);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user