ACC SHELL
<?php
/**
* This file is part of the Nette Framework (http://nette.org)
* Copyright (c) 2004 David Grudl (http://davidgrudl.com)
* @package Nette\Latte
*/
/**
* Latte macro.
*
* @author David Grudl
* @package Nette\Latte
*/
interface IMacro
{
/**
* Initializes before template parsing.
* @return void
*/
function initialize();
/**
* Finishes template parsing.
* @return array(prolog, epilog)
*/
function finalize();
/**
* New node is found. Returns FALSE to reject.
* @return bool
*/
function nodeOpened(NMacroNode $node);
/**
* Node is closed.
* @return void
*/
function nodeClosed(NMacroNode $node);
}
ACC SHELL 2018