From 2aa40e66478a5855291915047ae50d04dca630a3 Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sat, 31 Jan 2015 10:27:07 +0200 Subject: [PATCH 1/2] Change installation method order | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- components/intl.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/intl.rst b/components/intl.rst index bbd311f3562..90ac1808f13 100644 --- a/components/intl.rst +++ b/components/intl.rst @@ -22,8 +22,8 @@ Installation You can install the component in two different ways: -* Using the official Git repository (https://github.com/symfony/Intl); -* :doc:`Install it via Composer` (``symfony/intl`` on `Packagist`_). +* :doc:`Install it via Composer` (``symfony/intl`` on `Packagist`_); +* Using the official Git repository (https://github.com/symfony/Intl). If you install the component via Composer, the following classes and functions of the intl extension will be automatically provided if the intl extension is From 6b3b3bc08509530bcae3add5b470e95835a837ec Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sat, 31 Jan 2015 11:21:19 +0200 Subject: [PATCH 2/2] Fix typos | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- components/routing/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/routing/introduction.rst b/components/routing/introduction.rst index 85bcd1065de..07c764d5b73 100644 --- a/components/routing/introduction.rst +++ b/components/routing/introduction.rst @@ -288,7 +288,7 @@ calls a closure and uses the result as a :class:`Symfony\\Component\\Routing\\Ro use Symfony\Component\Routing\Loader\ClosureLoader; - $closure = function() { + $closure = function () { return new RouteCollection(); }; @@ -307,7 +307,7 @@ out here. The all-in-one Router ~~~~~~~~~~~~~~~~~~~~~ -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 to quickly use the Routing component. The constructor expects a loader instance, a path to the main route definition and some other settings::