|
Jobbuddy
|
Fonctions membres publiques | |
| __construct (private string $class) | |
| getClass () | |
| getFilters () | |
| getFunctions () | |
| getTests () | |
| getLastModified () | |
| Fonctions membres publiques hérités de AbstractExtension | |
| getTokenParsers () | |
| getNodeVisitors () | |
| getOperators () | |
| getExpressionParsers () | |
Define Twig filters, functions, and tests with PHP attributes.
| __construct | ( | private string | $class | ) |
Use a runtime class using PHP attributes to define filters, functions, and tests.
| class-string | $class |
| getClass | ( | ) |
| getFilters | ( | ) |
Returns a list of filters to add to the existing list.
Réimplémentée à partir de AbstractExtension.
| getFunctions | ( | ) |
Returns a list of functions to add to the existing list.
Réimplémentée à partir de AbstractExtension.
| getLastModified | ( | ) |
Returns the last modification time of the extension for cache invalidation.
This timestamp should be the last time the source code of the extension class and all its dependencies were modified (including the Runtime class).
Réimplémentée à partir de AbstractExtension.
| getTests | ( | ) |
Returns a list of tests to add to the existing list.
Réimplémentée à partir de AbstractExtension.