Hello all

I am in the process of upgrading to PR8 and noticed that
Router::$options is now private, which made me realise that my Router
class hasnt been working properly in a while.

Previously (maybe PR6/7) our Router class would provide a custom Cache
filename for the request context by overloading "getCacheFile()"

Specifically we are serving different Sites with different routing
setups, so the cache file name should reference the Site $id
somewhere, i.e. adminprodUrlMatcher-site123.php - but this doesnt seem
to be possible now.

The only thing I can think of is to somehow inject the cache filename
string from the DIC, but I dont think I can use a service to provide a
string value in an argument??

Is this a case for the Router to provide the old "getCacheFile" method
and open up $options as protected?

Cheers

dan

-- 
Dan Leech

Web Developer
www.dantleech.com

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to