2021-02-17 13:22:50 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Interfaces;
|
|
|
|
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
interface ServiceUsage
|
|
|
|
{
|
2022-04-20 06:24:58 +00:00
|
|
|
/**
|
|
|
|
* Our model that holds traffic information
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function traffic();
|
|
|
|
|
2021-02-17 13:22:50 +00:00
|
|
|
/**
|
|
|
|
* This service provides usage information
|
|
|
|
*
|
|
|
|
* @param int $days
|
|
|
|
* @return Collection
|
|
|
|
*/
|
|
|
|
public function usage(int $days): Collection;
|
|
|
|
}
|