Example #1
0
 /**
  * Loads the meta configuration.
  *
  * @return void
  */
 public static function loadMeta()
 {
     self::$meta = Core::getCache()->getMetaCache();
     foreach (self::$meta["packages"] as $namespace => $vendor) {
         self::addNamespace($namespace);
     }
     if (!empty(self::$meta["rewrite"]) && is_array(self::$meta["rewrite"])) {
         self::$rewrite = self::$meta["rewrite"];
     }
 }