Ejemplo n.º 1
0
 /**
  * Check if the existing resources are set. If not, load them from resources.ini
  *
  * @throws  ConfigurationError
  */
 private static function assertResourcesExist()
 {
     if (self::$resources === null) {
         self::$resources = Config::app('resources');
     }
 }
Ejemplo n.º 2
0
 public static function setConfig($config)
 {
     self::$resources = $config;
 }