diff --git a/src/Dijky/Pimple/Provider/SpotServiceProvider.php b/src/Dijky/Pimple/Provider/SpotServiceProvider.php index b22ce4b..ebfad0e 100644 --- a/src/Dijky/Pimple/Provider/SpotServiceProvider.php +++ b/src/Dijky/Pimple/Provider/SpotServiceProvider.php @@ -29,11 +29,11 @@ public function register(Container $c) $c[$servicePrefix . 'spot.connections.default'] = null; $c[$servicePrefix . 'spot'] = function() use ($c, $servicePrefix) { - return new Spot\Locator($c[$servicePrefix . 'spot.config']); + return new \Spot\Locator($c[$servicePrefix . 'spot.config']); }; $c[$servicePrefix . 'spot.config'] = function() use ($c, $servicePrefix) { - $config = new Spot\Config(); + $config = new \Spot\Config(); if (isset($c[$servicePrefix . 'spot.connections'])) {