public static function get($create = false) { if (is_null(self::$theSettings)) { self::$theSettings = new rTorrentSettings(); if ($create) { self::$theSettings->obtain(); } else { $cache = new rCache(); $cache->get(self::$theSettings); } } return self::$theSettings; }