Bridge\Twig\Node

Classes FormEnctypeNode deprecated FormThemeNode RenderBlockNode Compiles a call to {@link FormRendererInterface::renderBlock()}. SearchAndRenderBlockNode TransDefaultDomainNode TransNode

FunctionExtension::translateNthLastChild()

XPathExpr translateNthLastChild(XPathExpr $xpath, FunctionNode $function) Parameters XPathExpr $xpath FunctionNode $function Return Value XPathExpr

TimezoneType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

ExecutionContext::getPropertyName()

string|null getPropertyName() Returns the property name of the current node. If the metadata of the current node does not implement {@link PropertyMetadataInterface} or if no metadata is available for the current node, this method returns null. Return Value string|null The property name or null, if no property name could be found

NameConverterInterface::denormalize()

string denormalize(string $propertyName) Converts a property name to its denormalized value. Parameters string $propertyName Return Value string

NodeDefinition::end()

NodeParentInterface|NodeBuilder|NodeDefinition|null end() Returns the parent node. Return Value NodeParentInterface|NodeBuilder|NodeDefinition|null The builder of the parent node

Scope

class Scope Methods __construct(Scope $parent = null) Scope enter() Opens a new child scope. Scope|null leave() Closes current scope and returns parent one. Scope set(string $key, mixed $value) Stores data into current scope. bool has(string $key) Tests if a data is visible from current scope. mixed get(string $key, mixed $default = null) Returns data visible from current scope. Details __construct(Scope $parent = null)

BufferingLogger

class BufferingLogger extends AbstractLogger A buffering logger that stacks logs for later. Methods log($level, $message, array $context = array()) cleanLogs() Details log($level, $message, array $context = array()) Parameters $level $message array $context cleanLogs()

MetadataAwareInterface::getMetadata()

mixed getMetadata(string $key = '', string $domain = 'messages') Gets metadata for the given domain and key. Passing an empty domain will return an array with all metadata indexed by domain and then by key. Passing an empty key will return an array with all metadata for the given domain. Parameters string $key The key string $domain The domain name Return Value mixed The value that was set or an array with the domains/keys or null

StopwatchTokenParser::decideStopwatchEnd()

decideStopwatchEnd(Twig_Token $token) Parameters Twig_Token $token