コード例 #1
0
ファイル: LoginAspect.php プロジェクト: yashodhank/panel
 /**
  * Logs each logout
  *
  * @Flow\Before("method(Roketi\Panel\Controller\LoginController->logoutAction())")
  * @return mixed
  */
 public function logLogout()
 {
     $this->loggingService->log('authentication', 'user_logged_out');
 }
コード例 #2
0
ファイル: DomainAspect.php プロジェクト: yashodhank/panel
 /**
  * Logs deletion of a new domain
  *
  * @Flow\After("method(Roketi\Panel\Controller\DomainController->deleteAction())")
  * @return mixed
  */
 public function logDomainDeletion()
 {
     $this->loggingService->log('domain', 'domain_deleted');
 }