get('RoutePluginManager'); $config['route_plugins'] = $routePluginManager; } // Obtain an instance $factory = sprintf('%s::factory', $class); return call_user_func($factory, $config); } }