Ejemplo n.º 1
0
 /**
  * Load Swissup components information, using local and remote data
  *
  * @return array
  */
 public function load()
 {
     if ($this->isLoaded()) {
         return $this->items;
     }
     $this->setIsLoaded(true);
     $this->items = array_replace_recursive($this->localLoader->load(), $this->remoteLoader->load());
     return $this->items;
 }