setServiceLocator($serviceManager); $report = $action->__invoke([]); $serviceManager->getContainerBuilder()->forceBuild(); $report->add(Report::createSuccess('Update completed')); $report->add(Report::createSuccess('Dependency Injection Container rebuilt')); echo helpers_Report::renderToCommandline($report);