Exemplo n.º 1
0
 /**
  *
  * @return void
  */
 protected function debugInfo()
 {
     if (count($this->classObject->getMethods()) != count($this->classReflection->getNotInheritedMethods())) {
         debug('Errorr: method count does not match: ' . count($this->classObject->getMethods()) . ' methods found, should be ' . count($this->classReflection->getNotInheritedMethods()));
         debug($this->classObject->getMethods());
         debug($this->classReflection->getNotInheritedMethods());
     }
     if (count($this->classObject->getProperties()) != count($this->classReflection->getNotInheritedProperties())) {
         debug('Error: property count does not match:' . count($this->classObject->getProperties()) . ' properties found, should be ' . count($this->classReflection->getNotInheritedProperties()));
         debug($this->classObject->getProperties());
         debug($this->classReflection->getNotInheritedProperties());
     }
     $info = $this->classObject->getInfo();
     $endtime = microtime(TRUE);
     $totaltime = $endtime - $this->starttime;
     $totaltime = round($totaltime, 5);
     $info['Parsetime:'] = $totaltime . ' s';
     debug($info);
 }