cakephp/cakephp — pull request #3131 by sam-at-github (2014-03-26 04:14:19+00:00)
Title: Depcrecate Request  parameter to Controller::invokeAction()

Minor tidy up. Controller::__construct() takes a Request object and sets itself up accordingly. invokeAction() is potentially slipping a whole Request object in the backdoor. If that is desired Controller::setRequest() should be used since setting up the Controller for a new request is somewhat non-trivial. Its just disconcerting and another unknown having this potential way of setting the request. Its uneeded so should be removed.

Note this change has no actual affect on the Request object the Controller ends up with in the default flow of events.