TransformationRuleInterface

interface TransformationRuleInterface Contains instruction for compiling a resource bundle. Methods string getBundleName() Returns the name of the compiled resource bundle. string[] beforeCompile(CompilationContextInterface $context) Runs instructions to be executed before compiling the sources of the resource bundle. afterCompile(CompilationContextInterface $context) Runs instructions to be executed after compiling the sources of the resource bundle. mixed beforeCreateStu

TransformationFailedException

class TransformationFailedException extends RuntimeException Indicates a value transformation error.

TransDefaultDomainTokenParser::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

TransDefaultDomainTokenParser::getTag()

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

TransDefaultDomainTokenParser

class TransDefaultDomainTokenParser extends Twig_TokenParser Token Parser for the 'transdefaultdomain' tag. Methods Twig_Node parse(Twig_Token $token) Parses a token and returns a node. 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

TransDefaultDomainNode

class TransDefaultDomainNode extends Twig_Node Methods __construct(Twig_Node_Expression $expr, $lineno, $tag = null) compile(Twig_Compiler $compiler) Compiles the node to PHP. Details __construct(Twig_Node_Expression $expr, $lineno, $tag = null) Parameters Twig_Node_Expression $expr $lineno $tag compile(Twig_Compiler $compiler) Compiles the node to PHP. Parameters Twig_Compiler $compiler A

TransChoiceTokenParser::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

TransChoiceTokenParser::getTag()

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

TransChoiceTokenParser::decideTransChoiceFork()

decideTransChoiceFork($token) Parameters $token

TransChoiceTokenParser

class TransChoiceTokenParser extends TransTokenParser Token Parser for the 'transchoice' tag. Methods Twig_Node parse(Twig_Token $token) Parses a token and returns a node. decideTransFork($token) from TransTokenParser string getTag() Gets the tag name associated with this token parser. decideTransChoiceFork($token) Details Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A Twig