Latte\MacroNode::__construct PHP Метод

__construct() публичный Метод

public __construct ( latte\IMacro $macro, $name, $args = NULL, $modifiers = NULL, self $parentNode = NULL, HtmlNode $htmlNode = NULL, $prefix = NULL )
$macro latte\IMacro
$parentNode self
$htmlNode HtmlNode
    public function __construct(IMacro $macro, $name, $args = NULL, $modifiers = NULL, self $parentNode = NULL, HtmlNode $htmlNode = NULL, $prefix = NULL)
    {
        $this->macro = $macro;
        $this->name = (string) $name;
        $this->modifiers = (string) $modifiers;
        $this->parentNode = $parentNode;
        $this->htmlNode = $htmlNode;
        $this->prefix = $prefix;
        $this->data = new \stdClass();
        $this->isEmpty =& $this->empty;
        $this->setArgs($args);
    }