ZF-2853: Issue with Zend_Controller_Dispatcher_Interface definition


I've noticed that in various places throughout the framework, objects make getDefaultControllerName(), getDefaultAction(), and getDefaultModule() method calls on objects of type Zend_Controller_Dispatcher_Interface. Those methods are not defined in Zend_Controller_Dispatcher_Interface, which can obviously lead to problems. These methods are defined in Zend_Controller_Dispatcher_Abstract, so it probably slipped by. However, if one were to create the class My_Controller_Dispatcher_Abstract from which all application dispatchers inherit, there would be major problems if the methods mentioned above were not defined.

I haven't scoured the entire framework, but know that the above methods are called in Zend_Controller_Front and Zend_Controller_Router_Route_Module from object properties that are defined as type Zend_Controller_Dispatcher_Interface.


Please categorize/fix as needed.

Interface updated (as well as documentation) in trunk and 1.6 release branch.

Updating for the 1.6.0 release.