Пример #1
0
 public function capture()
 {
     $collector = new Moeroas_Commercebug_Model_Collectorgraphviz();
     $o = new stdClass();
     $o->dot = Moeroas_Commercebug_Model_Observer_Dot::renderGraph();
     $collector->collectInformation($o);
 }
 public function collectInformation($observer)
 {
     $collector = $this->getCollector();
     self::$_graphviz = $observer->dot;
 }