Exemple #1
0
 /**
  * Crypt failed event.
  *
  * @param \phpbu\App\Configuration\Backup\Crypt $crypt
  */
 public function cryptFailed(Configuration\Backup\Crypt $crypt)
 {
     $this->cryptsFailed++;
     $this->backupActive->fail();
     $this->backupActive->cryptFailed($crypt);
     $event = new Event\Crypt\Failed($crypt);
     $this->eventDispatcher->dispatch(Event\Crypt\Failed::NAME, $event);
 }