ZF-Commons/ZfcUser — pull request #498 by shipleyr (2014-07-09 09:52:40+00:00)
Title: Changing the getRedirect function to protected as I need to extend the c...

...lass at this point.

Use Case: I have a guest login system which uses a separate route to login (zfcuser/guest) and the redirect plug-in is looking explicitly for zfcuser/login to do a redirect. I want to extend the RedirectCallback class with my own which does a check for the login/guest route, set the $currentRoute variable to zfcuser/login then call the parent function. No code duplication. At the moment it requires the entire class to be coppied/pasted to achieve the same functionality.