/** * 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(); } }