mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 03:46:39 +00:00
tweaked doc
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user