/**
  * Create a new Model Manager with the configuration applied that allows writing to multiple persistent
  * engines.  The Configuration required most declare the model scope you it is currently operating in.
  * This class wraps the individual adapters and reads from the adapter set to be highest priority.
  *
  * @param Configuration $Config
  */
 public function __construct(Configuration $Config)
 {
     $this->config = $Config;
     // set all the adapters that have been passed in
     $adapters = $this->config->getAdapters();
     if (empty($adapters)) {
         throw new \InvalidArgumentException("Missing adapters setting (array) to for manager see supported adapters");
     }
     foreach ($adapters as $adapter) {
         $settings = $this->config->getAdapterSettings($adapter);
         $this->addAdapter($adapter, $settings, $this->config->getNamespaces());
     }
 }