Skip to content
Snippets Groups Projects
Commit af1f6cab authored by Demian Katz's avatar Demian Katz
Browse files

Simplified use statement.

parent 324dc340
No related merge requests found
......@@ -28,9 +28,7 @@
namespace VuFind;
use VuFind\Config\Reader as ConfigReader,
VuFind\Theme\Initializer as ThemeInitializer, Zend\Console\Console,
Zend\Mvc\MvcEvent, Zend\Mvc\Router\Http\RouteMatch,
Zend\ServiceManager\Config as ServiceManagerConfig,
Zend\ServiceManager\ServiceLocatorAwareInterface;
Zend\Mvc\MvcEvent, Zend\Mvc\Router\Http\RouteMatch;
/**
* VuFind Bootstrapper
......@@ -100,7 +98,7 @@ class Bootstrap
$configKey = strtolower(str_replace('\\', '_', $ns))
. '_plugin_manager';
return new $className(
new ServiceManagerConfig($config[$configKey])
new \Zend\ServiceManager\Config($config[$configKey])
);
};
$serviceManager->setFactory($serviceName, $factory);
......
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