Ejemplo n.º 1
0
Archivo: Main.php Proyecto: kingsj/core
 /**
  * Execute certain hook handle
  *
  * @return void
  */
 public function executeHookHandler()
 {
     if (!$this->areProxiesExist()) {
         // Create the proxies folder
         \Includes\Utils\FileManager::mkdirRecursive(LC_DIR_CACHE_PROXY);
         // Create model proxy classes (second step of cache generation)
         \Includes\Decorator\Plugin\Doctrine\Utils\EntityManager::generateProxies();
     }
 }