Exemplo n.º 1
0
Arquivo: Doctrine.php Projeto: ksst/kf
 /**
  * Development / Helper Method for displaying loaded Models.
  */
 public static function debugLoadedClasses()
 {
     $em = self::getEntityManager();
     $config = $em->getConfiguration();
     #$config->addEntityNamespace('Core', $module_models_path); // = Core:Session
     #$config->addEntityNamespace('Module', $module_models_path); // = Module:News
     $classes_loaded = $config->getMetadataDriverImpl()->getAllClassNames();
     \Koch\Debug\Debug::printR($classes_loaded);
 }
Exemplo n.º 2
0
 public static function debug()
 {
     \Koch\Debug\Debug::printR(self::$parameters);
 }