Refactor ControllerContext to be built only before passing it to the View
$this->controllerContext should not be available in the Controller, but just be passed on to the View.
There is one question remaining: Should the URIHelper / URIBuilder get this whole object, or just the Request object?
- Status changed from Accepted to New
- Assignee changed from Sebastian Kurfuerst to Bastian Waidelich
We decided to rename setupControllerContext() to buildControllerContext(). The instance variable $controllerContext will be removed from AbstractController.
There is one question remaining: Should the URIHelper / URIBuilder
get this whole object, or just the Request object?
The URIBuilder does not contain the controllerContext. The controllerContext contains an instance of URIBuilder.
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2344.
Also available in: Atom