Jobbuddy
Chargement...
Recherche...
Aucune correspondance
Référence de la classe AbstractExtension
Graphe d'héritage de AbstractExtension:
LastModifiedExtensionInterface ExtensionInterface AttributeExtension CoreExtension DebugExtension EscaperExtension OptimizerExtension ProfilerExtension SandboxExtension StagingExtension StringLoaderExtension YieldNotReadyExtension

Fonctions membres publiques

 getTokenParsers ()
 getNodeVisitors ()
 getFilters ()
 getTests ()
 getFunctions ()
 getOperators ()
 getExpressionParsers ()
 getLastModified ()

Documentation des fonctions membres

◆ getFilters()

getFilters ( )

Returns a list of filters to add to the existing list.

Renvoie
TwigFilter[]

Implémente ExtensionInterface.

Réimplémentée dans AttributeExtension, CoreExtension, EscaperExtension, et StagingExtension.

◆ getFunctions()

getFunctions ( )

Returns a list of functions to add to the existing list.

Renvoie
TwigFunction[]

Implémente ExtensionInterface.

Réimplémentée dans AttributeExtension, CoreExtension, DebugExtension, StagingExtension, et StringLoaderExtension.

◆ getLastModified()

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).

Implémente LastModifiedExtensionInterface.

Réimplémentée dans AttributeExtension, et EscaperExtension.

◆ getNodeVisitors()

getNodeVisitors ( )

Returns the node visitor instances to add to the existing list.

Renvoie
NodeVisitorInterface[]

Implémente ExtensionInterface.

Réimplémentée dans CoreExtension, EscaperExtension, OptimizerExtension, ProfilerExtension, SandboxExtension, StagingExtension, et YieldNotReadyExtension.

◆ getOperators()

getOperators ( )

Returns a list of operators to add to the existing list.

Renvoie
array<array>

@psalm-return array{ array<string, array{precedence: int, precedence_change?: PrecedenceChange, class: class-string<AbstractUnary>}>, array<string, array{precedence: int, precedence_change?: PrecedenceChange, class?: class-string<AbstractBinary>, associativity: ExpressionParser::OPERATOR_*}> }

Implémente ExtensionInterface.

◆ getTests()

getTests ( )

Returns a list of tests to add to the existing list.

Renvoie
TwigTest[]

Implémente ExtensionInterface.

Réimplémentée dans AttributeExtension, CoreExtension, et StagingExtension.

◆ getTokenParsers()

getTokenParsers ( )

Returns the token parser instances to add to the existing list.

Renvoie
TokenParserInterface[]

Implémente ExtensionInterface.

Réimplémentée dans CoreExtension, EscaperExtension, SandboxExtension, et StagingExtension.


La documentation de cette classe a été générée à partir du fichier suivant :