tweaked doc

This commit is contained in:
Fabien Potencier
2019-08-11 11:46:30 +02:00
parent 5168c0e2fe
commit 499a6eeb13
16 changed files with 32 additions and 16 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -21,7 +21,8 @@ with a given timezone:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -31,7 +31,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -31,7 +31,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -31,7 +31,8 @@ The ``data_uri`` filter generates a URL using the data scheme as defined in RFC
$ composer req twig/html-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Html\HtmlExtension;
+2 -1
View File
@@ -59,7 +59,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -16,7 +16,8 @@ the ``format_datetime`` filter, but without the time.
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -51,7 +51,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -102,7 +102,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -16,7 +16,8 @@ the ``format_timetime`` filter, but without the date.
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -43,7 +43,8 @@ You can also use the filter on an included file:
$ composer req twig/markdown-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Markdown\MarkdownMarkdownExtension;
+2 -1
View File
@@ -31,7 +31,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -31,7 +31,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -42,7 +42,8 @@ You can also use the filter on an included file:
$ composer req twig/markdown-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Markdown\MarkdownMarkdownExtension;
+2 -1
View File
@@ -31,7 +31,8 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+2 -1
View File
@@ -24,7 +24,8 @@ names together:
$ composer req twig/html-extra
Then, add it on the Twig environment::
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
use Twig\Extra\Html\HtmlExtension;