You are here

public function BusinessRulesListener::onTerminate in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/BusinessRulesListener.php \Drupal\business_rules\EventSubscriber\BusinessRulesListener::onTerminate()

Run the necessary commands on terminate event.

Parameters

\Symfony\Component\EventDispatcher\Event $event: The terminate event.

File

src/EventSubscriber/BusinessRulesListener.php, line 226

Class

BusinessRulesListener
Class BusinessRulesListener.

Namespace

Drupal\business_rules\EventSubscriber

Code

public function onTerminate(Event $event) {

  // $key_value = \Drupal::keyValueExpirable('business_rules.debug');
  // $key_value->deleteAll();
}