public function __construct($useCache) { $useCache || ($useCache = Config::get('locker_use_cache', 'default_cache')); $this->useCache = $useCache; }