-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] Giving instances ID's #477
Comments
Hello, What are you talking about exactly ? |
Well, correct me if I'm wrong but currently when we use getInstance('driverName') It searches for current drivers with configuration. I'm suggesting that when we are creating drivers lets say
and when getting a driver
This way there is no problem with getting drivers btw I still don't understand how we can create 2 file drivers and get them without knowing all the configuration they have. (For example file drive 1 path= /path1/, file drive 2 path = /path2/) (One extra: In wiki page, there isn't information about all the configs easiest example is the path. It could be the only one that is missing but wanted to say that too https://github.com/PHPSocialNetwork/phpfastcache/wiki/%5BV4%CB%96%5D-The-driver-options ) |
Internally PhpFastCache already make use of an instance ID based on the driver & config: Currently I can't break the compatibility by adding a new param to Psr16Adapter class as PhpFastCache follows the semver specs. However we can see things on a different way:
What do you think about that concept ? -- |
This could be great! Thanks @Geolim4 |
Okay the roadmap has been updated. Cheers, |
Will be done in V7 instead of 6.1 as planned initially. |
Hello @HackHers this feature is now testable on V7 if you want to. Cheers, |
Hello, I don't have detailed knowledge about the whole system but why don't we give instances ID's (optionally) so getting instances will be easier and faster than ever
Thanks,
Sarp
The text was updated successfully, but these errors were encountered: