/** * 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'); } }
public static function setConfig($config) { self::$resources = $config; }