\Twig_TokenParser_Include

Includes a template.

  {% include 'header.html' %}
    Body
  {% include 'footer.html' %}

Summary

Methods
Properties
Constants
setParser()
parse()
getTag()
No public properties found
No constants found
parseArguments()
$parser
N/A
No private methods found
No private properties found
N/A

Properties

Methods

setParser()

setParser(\Twig_Parser  $parser) 

Sets the parser associated with this token parser.

Parameters

\Twig_Parser $parser

parse()

parse(\Twig_Token  $token) 

Parameters

\Twig_Token $token

getTag()

getTag() 

parseArguments()

parseArguments()