Esempio n. 1
0
	/**
	 * {dump ...}
	 */
	public function macroDump(NMacroNode $node, NPhpWriter $writer)
	{
		$args = $writer->formatArgs();
		return 'NDebugger::barDump(' . ($node->args ? "array(" . $writer->write('%var', $args) . " => $args)" : 'get_defined_vars()')
			. ', "Template " . str_replace(dirname(dirname($template->getFile())), "\xE2\x80\xA6", $template->getFile()))';
	}