Traverse

class Traverse extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $traverse Methods static string getErrorName(

TraversalStrategy

class TraversalStrategy Specifies whether and how a traversable object should be traversed. If the node traverser traverses a node whose value is an instance of {@link \Traversable}, and if that node is either a class node or if cascading is enabled, then the node's traversal strategy will be checked. Depending on the requested traversal strategy, the node traverser will iterate over the object and cascade each object or collection returned by the iterator. The traversal strategy is ignored

TransTokenParser::parse()

Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A Twig_Token instance Return Value Twig_Node A Twig_Node instance Exceptions Twig_Error_Syntax

TransTokenParser::getTag()

string getTag() Gets the tag name associated with this token parser. Return Value string The tag name

TransTokenParser::decideTransFork()

decideTransFork($token) Parameters $token

TransTokenParser

class TransTokenParser extends Twig_TokenParser Token Parser for the 'trans' tag. Methods Twig_Node parse(Twig_Token $token) Parses a token and returns a node. decideTransFork($token) string getTag() Gets the tag name associated with this token parser. Details Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A Twig_Token instance Return Value Twig_Node A Twig_Node instance Exception

TransNode

class TransNode extends Twig_Node Methods __construct(Twig_Node $body, Twig_Node $domain = null, Twig_Node_Expression $count = null, Twig_Node_Expression $vars = null, Twig_Node_Expression $locale = null, $lineno, $tag = null) compile(Twig_Compiler $compiler) Compiles the node to PHP. Details __construct(Twig_Node $body, Twig_Node $domain = null, Twig_Node_Expression $count = null, Twig_Node_Expression $vars = null, Twig_Node_Expression $locale = null

TranslatorPass

class TranslatorPass implements CompilerPassInterface Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

TranslatorListener::onKernelRequest()

onKernelRequest(GetResponseEvent $event) Parameters GetResponseEvent $event

TranslatorListener::onKernelFinishRequest()

onKernelFinishRequest(FinishRequestEvent $event) Parameters FinishRequestEvent $event