Commit 99ab5eb9 authored by Fabien Potencier's avatar Fabien Potencier

added a note about the controller factory in the docs (closes #558)

parent 46ac91f0
......@@ -64,6 +64,11 @@ have to call flush yourself.
The ``Application`` provides a shortcut ``flush`` method for flushing the
``ControllerCollection``.
.. tip::
Instead of creating an instance of ``RouteCollection`` yourself, use the
``$app['controllers_factory']`` factory instead.
Symfony2
--------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment