• Fabien Potencier's avatar
    feature #953 Improve exception messages for mount() (Damien Walsh, themainframe) · 839be037
    Fabien Potencier authored
    This PR was squashed before being merged into the 2.0.x-dev branch (closes #953).
    
    Discussion
    ----------
    
    Improve exception messages for mount()
    
    Improve the exception message if the `connect` method of a `ControllerProviderInterface` returns an invalid type.
    
    Previously a misleading message about the arguments to `mount()` was emitted if your `connect` method did not return a `ControllerCollection`.
    
    Commits
    -------
    
    7d6298d8 Improve exception messages for mount()
    839be037
Name
Last commit
Last update
..
Api Loading commit data...
Application Loading commit data...
EventListener Loading commit data...
Exception Loading commit data...
Provider Loading commit data...
Route Loading commit data...
Application.php Loading commit data...
CallbackResolver.php Loading commit data...
Controller.php Loading commit data...
ControllerCollection.php Loading commit data...
ControllerResolver.php Loading commit data...
ExceptionHandler.php Loading commit data...
ExceptionListenerWrapper.php Loading commit data...
Route.php Loading commit data...
ServiceControllerResolver.php Loading commit data...
WebTestCase.php Loading commit data...