/** * Execute certain hook handle * * @return void */ public function executeHookHandler() { // Postprocess step (UpdateDBSchema) if (\Includes\Decorator\Plugin\Doctrine\Utils\DBSchemaManager::getDBSchema()) { \Includes\Decorator\Utils\CacheManager::$skipStepCompletion = true; } else { \Includes\Decorator\Plugin\Doctrine\Utils\DBSchemaManager::removeDBSchema(); } }
/** * Execute certain hook handle * * @return void */ public function executeHookHandler() { $this->saveMetadata(); if (!\Includes\Decorator\Utils\CacheManager::isCapsular() || $this->isMetadataChanged()) { \Includes\Decorator\Utils\CacheInfo::set('metadataChangedState', true); \Includes\Decorator\Plugin\Doctrine\Utils\DBSchemaManager::prepareDBSchema(); } else { \Includes\Decorator\Utils\CacheInfo::set('metadataChangedState', false); \Includes\Decorator\Plugin\Doctrine\Utils\DBSchemaManager::removeDBSchema(); } }