Beispiel #1
0
 /**
  * Execute the shutdown procedure.
  *
  * @return void
  */
 public function shutdown()
 {
     $storage = $this->getContext()->getStorage();
     // write credentials to the storage
     $storage->write(self::AUTH_NAMESPACE, $this->authenticated);
     $storage->write(self::CREDENTIAL_NAMESPACE, $this->credentials);
     // call the parent shutdown method
     parent::shutdown();
 }