Jobbuddy
Chargement...
Recherche...
Aucune correspondance
Référence de la classe TwigFunction
Graphe d'héritage de TwigFunction:
AbstractTwigCallable TwigCallableInterface

Fonctions membres publiques

 __construct (string $name, $callable=null, array $options=[])
 getType ()
 getParserCallable ()
 getSafe (Node $functionArgs)
Fonctions membres publiques hérités de AbstractTwigCallable
 __toString ()
 getName ()
 getDynamicName ()
 getCallable ()
 getNodeClass ()
 needsCharset ()
 needsEnvironment ()
 needsContext ()
 withDynamicArguments (string $name, string $dynamicName, array $arguments)
 setArguments (array $arguments)
 getArguments ()
 isVariadic ()
 isDeprecated ()
 triggerDeprecation (?string $file=null, ?int $line=null)
 getDeprecatingPackage ()
 getDeprecatedVersion ()
 getAlternative ()
 getMinimalNumberOfRequiredArguments ()

Membres hérités additionnels

Attributs protégés hérités de AbstractTwigCallable
 $options

Description détaillée

Represents a template function.

Auteur
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Voir également
https://twig.symfony.com/doc/templates.html#functions

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( string $name,
$callable = null,
array $options = [] )
Paramètres
callable|array{class-string,string}|null$callable A callable implementing the function. If null, you need to overwrite the "node_class" option to customize compilation.

Réimplémentée à partir de AbstractTwigCallable.

Documentation des fonctions membres

◆ getType()

getType ( )

Implémente TwigCallableInterface.


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