示例#1
0
文件: Loader.php 项目: swissup/core
 /**
  * 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;
 }