Exemplo n.º 1
0
 /**
  * Execute certain hook handle
  *
  * @return void
  */
 public function executeHookHandler()
 {
     // Postprocess step (Load fixtures)
     if (\Includes\Decorator\Plugin\Doctrine\Utils\FixturesManager::getFixtures()) {
         \Includes\Decorator\Utils\CacheManager::$skipStepCompletion = true;
     } else {
         \Includes\Decorator\Plugin\Doctrine\Utils\FixturesManager::removeFixtures();
     }
 }
Exemplo n.º 2
0
 /**
  * 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();
     }
 }
Exemplo n.º 3
0
 /**
  * Execute certain hook handle
  *
  * @return void
  */
 public function executeHookHandler()
 {
     if (\XLite\Upgrade\Cell::getInstance()->isUpgraded() && $this->hasUncalledActions()) {
         \Includes\Decorator\Utils\CacheManager::$skipStepCompletion = true;
     }
 }