Home
last modified time | relevance | path

Searched refs:TwigFilter (Results 1 – 12 of 12) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/Extension/
H A DCoreExtension.php71 use Twig\TwigFilter; alias
216 new TwigFilter('format', 'sprintf'),
219 new TwigFilter('abs', 'abs'),
220 new TwigFilter('round', 'twig_round'),
224 new TwigFilter('json_encode', 'json_encode'),
232 new TwigFilter('striptags', 'strip_tags'),
233 new TwigFilter('trim', 'twig_trim_filter'),
238 new TwigFilter('join', 'twig_join_filter'),
240 new TwigFilter('sort', 'twig_sort_filter'),
241 new TwigFilter('merge', 'twig_array_merge'),
[all …]
H A DExtensionInterface.php16 use Twig\TwigFilter; alias
44 * @return TwigFilter[]
H A DEscaperExtension.php16 use Twig\TwigFilter; alias
52 …new TwigFilter('escape', 'twig_escape_filter', ['needs_environment' => true, 'is_safe_callback' =>…
53 …new TwigFilter('e', 'twig_escape_filter', ['needs_environment' => true, 'is_safe_callback' => 'twi…
54 new TwigFilter('raw', 'twig_raw_filter', ['is_safe' => ['all']]),
H A DStagingExtension.php16 use Twig\TwigFilter; alias
49 public function addFilter(TwigFilter $filter)
/template/twigstarter/vendor/twig/twig/lib/Twig/
H A DSimpleFilter.php12 use Twig\TwigFilter; alias
17 class_exists(TwigFilter::class);
23 final class Twig_SimpleFilter extends TwigFilter
H A DFilter.php3 use Twig\TwigFilter; alias
11 class Twig_Filter extends TwigFilter
/template/twigstarter/vendor/twig/twig/doc/
H A Dadvanced.rst125 $filter = new \Twig\TwigFilter('rot13', function ($string) {
130 $filter = new \Twig\TwigFilter('rot13', 'str_rot13');
133 $filter = new \Twig\TwigFilter('rot13', ['SomeClass', 'rot13Filter']);
134 $filter = new \Twig\TwigFilter('rot13', 'SomeClass::rot13Filter');
137 $filter = new \Twig\TwigFilter('rot13', [$this, 'rot13Filter']);
139 $filter = new \Twig\TwigFilter('rot13', ['SomeClass', 'rot13Filter']);
176 $filter = new \Twig\TwigFilter('rot13', 'str_rot13', $options);
200 $filter = new \Twig\TwigFilter('rot13', function ($context, $string) {
273 $filter = new \Twig\TwigFilter('obsolete', function () {
602 * @return \Twig\TwigFilter[]
[all …]
H A Ddeprecated.rst53 * ``Twig\TwigFilter``
108 3.0. Use ``Twig\TwigFilter``, ``Twig\TwigFunction``, and ``Twig\TwigTest``
/template/twigstarter/vendor/twig/twig/src/
H A DExtensionSet.php216 public function addFilter(TwigFilter $filter)
226 * @return TwigFilter[]
238 * @return TwigFilter|false
H A DTwigFilter.php26 class TwigFilter class
H A DEnvironment.php778 public function addFilter(TwigFilter $filter)
791 * @return TwigFilter|false
810 * @return TwigFilter[]
/template/twigstarter/vendor/twig/twig/src/Test/
H A DIntegrationTestCase.php20 use Twig\TwigFilter; alias
54 * @return TwigFilter[]