Twig_TokenStream::__construct
Constructor.
Signature
public function __construct(array
$tokens,
[string
$filename = null] )
Parameters
$tokens
— array- An array of tokens
$filename
— string- The name of the filename which tokens are associated with