protected function printFuncWithHeader(Func $func, Graph $graph, $prefix) { $name = $func->getScopedName(); $header = $this->createNode($prefix . 'header', "Function {$name}():"); $graph->setNode($header); $start = $this->printFuncInto($func, $graph, $prefix); $edge = $this->createEdge($header, $start); $graph->link($edge); }
public function leaveFunc(Func $func) { echo "Leave Func " . $func->getScopedName() . "\n"; $this->blocks = null; }