Cms\Twig\PlaceholderNode

Overview

PlaceholderNode represents a "placeholder" node

Extends
  • Twig\Node\Node
Implements
  • Traversable
  • Stringable
  • IteratorAggregate
  • Countable

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties

  • $nodes - (defined in Twig\Node\Node)
  • $attributes - (defined in Twig\Node\Node)
  • $lineno - (defined in Twig\Node\Node)
  • $tag - (defined in Twig\Node\Node)

Public Methods

public __construct()

public __construct($body, $name, $paramValues, $lineno, $tag = 'placeholder'): void

public compile()

public compile($compiler): void

compile the node to PHP

Show inherited public methods

Inherited Public Methods

  • __toString() - (defined in Twig\Node\Node)
  • count() - (defined in Twig\Node\Node)
  • getAttribute() - (defined in Twig\Node\Node)
  • getIterator() - (defined in Twig\Node\Node)
  • getNode() - (defined in Twig\Node\Node)
  • getNodeTag() - (defined in Twig\Node\Node)
  • getSourceContext() - (defined in Twig\Node\Node)
  • getTemplateLine() - (defined in Twig\Node\Node)
  • getTemplateName() - (defined in Twig\Node\Node)
  • hasAttribute() - (defined in Twig\Node\Node)
  • hasNode() - (defined in Twig\Node\Node)
  • removeAttribute() - (defined in Twig\Node\Node)
  • removeNode() - (defined in Twig\Node\Node)
  • setAttribute() - (defined in Twig\Node\Node)
  • setNode() - (defined in Twig\Node\Node)
  • setSourceContext() - (defined in Twig\Node\Node)