mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
Add statistic tracking
This commit is contained in:
18
app/Contracts/StatisticsCollector.php
Normal file
18
app/Contracts/StatisticsCollector.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
interface StatisticsCollector
|
||||
{
|
||||
public function siteShared($authToken = null);
|
||||
|
||||
public function portShared($authToken = null);
|
||||
|
||||
public function incomingRequest();
|
||||
|
||||
public function flush();
|
||||
|
||||
public function save();
|
||||
|
||||
public function shouldCollectStatistics(): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user