ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Admin Actions Log for Magento 2
|
||||
*/
|
||||
|
||||
namespace Amasty\AdminActionsLog\Api;
|
||||
|
||||
interface VisitHistoryManagerInterface
|
||||
{
|
||||
/**
|
||||
* Initialize Visit History tracking for current admin.
|
||||
*/
|
||||
public function startVisit(): void;
|
||||
|
||||
/**
|
||||
* Track Visit History end time, i.e. admin logout or session destroy.
|
||||
*
|
||||
* @param string|null $sessionId
|
||||
*/
|
||||
public function endVisit(string $sessionId = null): void;
|
||||
|
||||
/**
|
||||
* Clear whole Visit History storage.
|
||||
*
|
||||
* @param int|null $period
|
||||
*/
|
||||
public function clear(int $period = null): void;
|
||||
}
|
||||
Reference in New Issue
Block a user