Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa40e6 commit 6b3b3bcCopy full SHA for 6b3b3bc
components/routing/introduction.rst
@@ -288,7 +288,7 @@ calls a closure and uses the result as a :class:`Symfony\\Component\\Routing\\Ro
288
289
use Symfony\Component\Routing\Loader\ClosureLoader;
290
291
- $closure = function() {
+ $closure = function () {
292
return new RouteCollection();
293
};
294
@@ -307,7 +307,7 @@ out here.
307
The all-in-one Router
308
~~~~~~~~~~~~~~~~~~~~~
309
310
-The :class:`Symfony\\Component\\Routing\\Router` class is a all-in-one package
+The :class:`Symfony\\Component\\Routing\\Router` class is an all-in-one package
311
to quickly use the Routing component. The constructor expects a loader instance,
312
a path to the main route definition and some other settings::
313
0 commit comments