/**
  * Get a service depending on its given $serviceName
  * @param $serviceName
  * @return mixed|object
  * @throws Adapter_Exception
  */
 public static function get($serviceName)
 {
     if (empty(self::$service_container) || is_null(self::$service_container)) {
         throw new Adapter_Exception('Service container is not set.');
     }
     return self::$service_container->make($serviceName);
 }
 /**
  * Construct PrestaShop Core Service container
  * @return Core_Foundation_IoC_Container
  * @throws Core_Foundation_IoC_Exception
  */
 public function build()
 {
     $container = new Core_Foundation_IoC_Container();
     $container->bind('Core_Business_ConfigurationInterface', 'Adapter_Configuration', true);
     $container->bind('Core_Foundation_Database_DatabaseInterface', 'Adapter_Database', true);
     return $container;
 }