• 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
bin Loading commit data...
doc Loading commit data...
src/Silex Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.rst Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...