/** * Logs each logout * * @Flow\Before("method(Roketi\Panel\Controller\LoginController->logoutAction())") * @return mixed */ public function logLogout() { $this->loggingService->log('authentication', 'user_logged_out'); }
/** * 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'); }