Closed bakura10 closed 10 years ago
Well, I guess we can use self
here as well. But would that make any difference?
What I don't understand is: why do you have this? Why don't you simply configure the plugin manager to be not shared?
I suppose the use case is to allow to have a sharing per route?
Because only instances with the exact same configuration may be shared.
I see.... @ocramius: couldn't we have a smarter sharing with the new ServiceRequest object? Like a sharing PER ServiceRequest?
could work...
Closing for now until the plug-in manager allows for this functionally.
I'm not sure static is needed here: https://github.com/DASPRiD/Dash/blob/master/src/Dash/Mvc/Router/Http/Parser/PathSegmentFactory.php#L52
What's the use case?