= 2 ) { # Settings are being reconfigured. return Config::set($config, ...$parameters); } # If no reconfiguration condition is found, the current settings are returned. return Config::get($config, ...$parameters); } /** * Get all config * * @return array */ public static function all() : array { return Config::get(self::getOnlyClassName()); } /** * Protected get only class name */ protected static function getOnlyClassName() { return Classes::onlyName(__CLASS__); } }