コード例 #1
0
ファイル: RavelFilter.php プロジェクト: Kid-Binary/RavelCast
 /**
  * Saves file name and TTL for further garbage collection, increments counter of sent packages
  */
 public function postPhase(StashedDataPackage $stashedDataPackage)
 {
     $cipherFile = $this->_cipherFileManager->create();
     $fileName = $this->_yamler->getCipherFileName();
     $cipherFile->setTimeOfDying($stashedDataPackage->getTimeOfDying())->setFileName($fileName);
     $this->_cipherFileManager->persist($cipherFile);
     $this->_packageCounterManager->incrementSentPackages();
 }