mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
Remove versionadded in docs
This commit is contained in:
@@ -791,10 +791,6 @@ The ``getTests()`` method lets you add new test functions::
|
||||
Using PHP Attributes to define Extensions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
The attribute classes were added in Twig 3.21.
|
||||
|
||||
You can add the ``#[AsTwigFilter]``, ``#[AsTwigFunction]``, and ``#[AsTwigTest]``
|
||||
attributes to public methods of any class to define filters, functions, and tests.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user