/**
* Returns the parent template.
*
+ * This method is for internal use only and should never be called
+ * directly.
+ *
* @return Twig_TemplateInterface|false The parent template or false if there is no parent
*/
public function getParent(array $context)
/**
* Displays a parent block.
*
+ * This method is for internal use only and should never be called
+ * directly.
+ *
* @param string $name The block name to display from the parent
* @param array $context The context
* @param array $blocks The current set of blocks
/**
* Displays a block.
*
+ * This method is for internal use only and should never be called
+ * directly.
+ *
* @param string $name The block name to display
* @param array $context The context
* @param array $blocks The current set of blocks
/**
* Renders a parent block.
*
+ * This method is for internal use only and should never be called
+ * directly.
+ *
* @param string $name The block name to render from the parent
* @param array $context The context
* @param array $blocks The current set of blocks
/**
* Renders a block.
*
+ * This method is for internal use only and should never be called
+ * directly.
+ *
* @param string $name The block name to render
* @param array $context The context
* @param array $blocks The current set of blocks
/**
* Returns whether a block exists or not.
*
+ * This method is for internal use only and should never be called
+ * directly.
+ *
+ * This method does only return blocks defined in the current template
+ * or defined in "used" traits.
+ *
+ * It does not return blocks from parent templates as the parent
+ * template name can be dynamic, which is only known based on the
+ * current context.
+ *
* @param string $name The block name
*
* @return Boolean true if the block exists, false otherwise
/**
* Returns all block names.
*
+ * This method is for internal use only and should never be called
+ * directly.
+ *
* @return array An array of block names
+ *
+ * @see hasBlock
*/
public function getBlockNames()
{
/**
* Returns all blocks.
*
+ * This method is for internal use only and should never be called
+ * directly.
+ *
* @return array An array of blocks
+ *
+ * @see hasBlock
*/
public function getBlocks()
{