Skip to content
Snippets Groups Projects
Commit 1e01acc7 authored by Robert Lange's avatar Robert Lange
Browse files

Merge branch 'instance/fid' into instance/fid_bbi

parents 17a8f74d 0d2703f9
No related merge requests found
...@@ -39,11 +39,11 @@ class MyResearchControllerFactory ...@@ -39,11 +39,11 @@ class MyResearchControllerFactory
return null; return null;
} }
public function __invoke(ContainerInterface $container) public function __invoke(ContainerInterface $container, $requested_name)
{ {
/** @var ServiceManager $serviceManager */ /** @var ServiceManager $serviceManager */
$serviceManager = $container->get(ServiceManager::class); $serviceManager = $container->get(ServiceManager::class);
$controller = new MyResearchController($serviceManager); $controller = new $requested_name($serviceManager);
$controller->setFidClient($container->get(Client::class)); $controller->setFidClient($container->get(Client::class));
return $controller; return $controller;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment