Latte\PhpWriter::__construct PHP Method

__construct() public method

public __construct ( MacroTokens $tokens, $modifiers = NULL, array $context = NULL )
$tokens MacroTokens
$context array
    public function __construct(MacroTokens $tokens, $modifiers = NULL, array $context = NULL)
    {
        $this->tokens = $tokens;
        $this->modifiers = $modifiers;
        $this->context = $context;
    }