/**
  * @param AdminInterface $admin
  */
 private function loadCache(AdminInterface $admin)
 {
     if ($admin->isChild()) {
         $this->loadCache($admin->getParent());
     } else {
         if (in_array($admin->getCode(), $this->loaded)) {
             return;
         }
         $this->caches = array_merge($this->cache->load($admin), $this->caches);
         $this->loaded[] = $admin->getCode();
     }
 }
 /**
  * {@inheritdoc}
  */
 public function warmUp($cacheDir)
 {
     foreach ($this->pool->getAdminServiceIds() as $id) {
         $this->cache->load($this->pool->getInstance($id));
     }
 }